Unity Tip: Constant Movement VS Fast then Slow #shorts #unity #gamedev
✅ Make sure you Normalize your Movement Vectors to keep it constant.
🌍 Get my Complete Courses! ✅ https://unitycodemonkey.com/courses
👍 Learn to make awesome games step-by-step from start to finish.
🎮 Get my Steam Games https://unitycodemonkey.com/gamebundle
💬 When you want to move towards somewhere you make a movement vector with (targetPosition - currentPosition)
However if you just do that you end up with a Vector that has a Magnitude based on the Distance.
If you use it like that then the object will move fast then slow.
For character movement you want it to be constant, so use Vector3.normalized to normalize your movement vectors.
🌍 Quick Unity Tips Playlist https://www.youtube.com/playlist?list=PLzDRvYVwl53uHV36abTLYNmg5jHGQ7SI4
If you have any questions post them in the comments and I'll do my best to answer them.
🔔 Subscribe for more Unity Tutorials https://www.youtube.com/channel/UCFK6NCbuCIVzA6Yj1G_ZqCg?sub_confirmation=1
See you next time!
📍 Support on Patreon https://www.patreon.com/unitycodemonkey
🤖 Join the Community Discord https://discord.gg/eHjUVrm
🎮 Grab the Game Bundle at https://unitycodemonkey.com/gameBundle.php
📝 Get the Code Monkey Utilities at https://unitycodemonkey.com/utils.php
#unitytutorial #unity3d #unity2d #unity #gamedev #indiegame #gamedevelopment #madewithunity #indiedev
--------------------------------------------------------------------
Hello and Welcome!
I'm your Code Monkey and here you will learn everything about Game Development in Unity using C#.
I've been developing games for several years with 8 published games on Steam and now I'm sharing my knowledge to help you on your own game development journey.
I do Unity Tutorials on just about every topic, Unity Tutorials for Beginners and Unity Tutorials for Advanced users.
You can see my games at www.endlessloopstudios.com
--------------------------------------------------------------------
- Other great Unity channels:
Brackeys - https://www.youtube.com/user/Brackeys
Dani - https://www.youtube.com/channel/UCIabPXjvT5BVTxRDPCBBOOQ
Jabrils - https://www.youtube.com/channel/UCQALLeQPoZdZC4JNUboVEUg
BlackthornProd - https://www.youtube.com/channel/UC9Z1XWw1kmnvOOFsj6Bzy2g
Sykoo - https://www.youtube.com/user/SykooTV
Jason Weimann - https://www.youtube.com/channel/UCX_b3NNQN5bzExm-22-NVVg
Jonas Tyroller - https://www.youtube.com/channel/UC_p_9arduPuxM8DHTGIuSOg
--------------------------------------------------------------------
- Website: https://unitycodemonkey.com/
- Twitter: https://twitter.com/UnityCodeMonkey
- Steam: https://store.steampowered.com/developer/EndlessLoopStudios