3 Unity Tricks: Gravity Wells, Right Angle Flips, and Moving Platforms

3 Unity Tricks: Gravity Wells, Right Angle Flips, and Moving Platforms

git-amend

1 месяц назад

5,239 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@git-amend
@git-amend - 21.07.2024 16:00

Happy Sunday! Lots of new tips and tricks today, and also I've updated the Unity Utility Library with some new hotkeys and helpers! Link in description!

Ответить
@dhawaljhaveri7615
@dhawaljhaveri7615 - 09.08.2024 11:27

Great video. This one helped me with one of the issues I was facing. Is there a way to alter gravity with arrow keys so that we can flip the player gravity in any of the directions(Up, Left Right, Down) and allow normal movements on those surfaces?

Ответить
@anasmostefaoui3027
@anasmostefaoui3027 - 01.08.2024 12:50

These are the kind of video on topics that you usually spend hours trying to figure out how to do, thanks a lot.
An suggestion for future video is the vector math used in the gravity well. I remember it gave me hard time to build up a mental modal to assimilate the math. With your teaching style, It can be amazing!

Ответить
@user-rm2pj9jf8s
@user-rm2pj9jf8s - 28.07.2024 16:59

It really helped me.

Ответить
@WelshGuitarDude
@WelshGuitarDude - 27.07.2024 17:11

Could you do a video on how to make own our navmesh system? Unity's is lacklustre and the asset store options are great but are quite overkill. I would love to learn to make my own but it seems very advanced and complicated especially run time stuff.

Ответить
@kpm25
@kpm25 - 25.07.2024 22:25

Hi Adam, maybe you could do a video one day on your recommended most-needed/useful assets to buy?? For example, I am wondering if I should purchase Odin Inspector , and the importance of doing so..... cheers

Ответить
@rofu8096
@rofu8096 - 24.07.2024 13:42

Can you make a fps game I really need a good tutorial

Ответить
@jamestanubrata6782
@jamestanubrata6782 - 24.07.2024 11:55

That's so cool

Ответить
@La89095168648
@La89095168648 - 23.07.2024 17:04

MagneticBoots - free asset in unity srore, a few line of codes freely available and you can do all this in video 😊

Ответить
@6Abdellah9
@6Abdellah9 - 23.07.2024 14:48

amazing video as always. can i ask for a future video fro you to make sone sort of loadout system were you could have a gun for example and pick between attachments and this is updated at runtime and is saved too as I know with scriptable objects they cannot be changed at runtime. i have tried making a system but it just doesn't feel good I'm hoping you have an amazing solution as always

Ответить
@celtican1622
@celtican1622 - 22.07.2024 21:37

What are your thoughts on tweening libraries (i.e. DOTween)? I'm a bit surprised that I haven't seen you use DOTween in your videos yet. You'd be able to rewrite the moving platform script to be much smaller and easier to read (albeit with a small performance hit, naturally).

Ответить
@drewalkemade3715
@drewalkemade3715 - 22.07.2024 17:00

Great video. Really fun mechanics here, I will be trying them out today. Also I like that addition to the utility library, after you mentioned that you don't like the new command in coroutines that got me thinking about that as well, I had not considered that a possible issue before, and the WaitFor feels cleaner. Looking forward to the advanced character controller. Thanks git!

Ответить
@Betruet
@Betruet - 22.07.2024 05:51

What a fantastic video, so well explained and executed. thanks for the lesson!

Ответить
@UTTheLaw
@UTTheLaw - 22.07.2024 03:04

Great work! Keep it up!

Ответить
@Ironlionm4n
@Ironlionm4n - 22.07.2024 01:47

Amazing stuff as always Git-Amend 🤝

Ответить
@Antony14021894
@Antony14021894 - 22.07.2024 01:25

Great video as usual!
What happens if you jump while in the gravity well and are upside down?

Ответить
@damonfedorick
@damonfedorick - 21.07.2024 22:19

Nice

Ответить
@folkenberger
@folkenberger - 21.07.2024 21:18

You could also use the improvisedTimers you did before to create custom fixedupdate that also follow the same workflow you did in here, as well to be able to turn the "updating" off when we know its in no use.

Would that be a thing worth doing? that way the coroutine wouldnt be playing at all times

Ответить
@Thomas-yz3ny
@Thomas-yz3ny - 21.07.2024 20:56

Danke!

Ответить
@uhhmir
@uhhmir - 21.07.2024 19:11

cant wait for a character controller episode!

Ответить
@MrOmega-cz9yo
@MrOmega-cz9yo - 21.07.2024 18:54

Hi, just wondering about a few things. most tutorials I've seen just parent an object to a platform, which you mention in the video. Any reason you didn't do that? Is the code more efficient, or just a choice? Also, to run around on a sphere, could you just reverse the gravity well up, or would there be more to it?

Ответить
@forbiddenbox
@forbiddenbox - 21.07.2024 17:37

SUNDAY

Ответить
@VladaPersonal
@VladaPersonal - 21.07.2024 17:11

Keep going, great work!❤

Ответить
@fleity
@fleity - 21.07.2024 17:06

Interesting, I would have expected that the gravity well component could basically have handled the right angle flip situation as well. It probably can when we change the center calculation to instead use a plane projection for direction. But the way you showed is simpler.
Looking forward to the player controller video(s). I always struggle with those.

Do you know why is the new waitforfixed update not static to begin with? I always thought the amount of time to wait might not be the same between frames or sth like that.

Ответить
@ducnguyenzz
@ducnguyenzz - 21.07.2024 16:59

nice

Ответить
@profzeta8598
@profzeta8598 - 21.07.2024 16:47

you could add a script that takes any moving platform velocity and adds it to the character controller as additional force. as conservation of momentum.
i.e you jump from one train car to another train car. without suddenly being de-parented or float off the moving platform.

Ответить
@Johan-rm6ec
@Johan-rm6ec - 21.07.2024 16:27

git-amend, how do you handle a pause in your game?

Ответить
@techdave99
@techdave99 - 21.07.2024 16:26

This is a great video. I'm working on a character controller and might use this. Still working out if I want a rigidbody or not.

Ответить
@techdave99
@techdave99 - 21.07.2024 16:24

Hope the move goes well and the flight is on time.

Ответить
@PsigenVision
@PsigenVision - 21.07.2024 16:04

I have never clicked a video so fast. This is PRECISELY the hurdle my game is focusing on right now with the Gravitas asset-creator.
Lol I say this before even proceeding with the video because that is how much I trust git-amend. XD

Ответить