How to make a moving character in Unity

Опубликовано: 26 Октябрь 2024
на канале: Tarodev
40,777
768

Learn the basics of moving objects in Unity as well as a few different approaches to fit your game needs.
First, you'll learn how to directly change the transform position of your object. Then I'll show you how to move your character using Unity's physics engine so you can correctly collide with other objects.

=========


PlayerController.cs: https://pastebin.com/muc8pBRr

❤️ Become a Tarobro on Patreon:   / tarodev  

=========

🔔 SUBSCRIBE: https://bit.ly/3eqG1Z6
🗨️ DISCORD:   / discord  
✅ MORE TUTORIALS:    / tarodev  



0:00 Intro
0:09 Create the script
0:20 Basic movement explained
0:48 Translate function
2:08 Move using velocity. Collide with objects
2:44 Adding jump using AddForce