
2D CHARACTER MOVEMENT IN UNITY ๐ฎ | Rigidbody2D Movement And Jumping In Unity | | Unity Tutorial
In this Unity tutorial I will teach you how to move and jump in Unity with a 2D character! ๐ This video will be a introduction to C# programming and how to move and jump using Rigidbody2D.
Learn C# here: ย ย ย โขย 1:ย Introductionย Toย C#ย |ย Whatย Isย C#ย |ย ...ย ย
Download Unity here: https://unity3d.com/get-unity/download
โค TIMESTAMPS
00:00:00 - Introduction.
00:00:17 - Getting Unity ready!
00:00:42 - Creating our Sprites.
00:02:21 - Adding Rigidbody2D and Colliders.
00:04:27 - Creating our C# PlayerController Script.
00:05:36 - I have a C# course!
00:06:06 - Understanding what is in our Script.
00:06:43 - Fields, Properties, and Methods in C#.
00:08:40 - Using, Classes and MonoBehaviour in C#.
00:10:11 - Start(), Update(), and FixedUpdate() in C#.
00:11:09 - The Void keyword in our methods?
00:13:21 - Creating our Fields.
00:16:59 - Assigning values to our Fields.
00:19:33 - How to get player input.
00:21:12 - Moving our player using AddForce.
00:25:09 - Jumping using AddForce.
00:26:05 - Checking if player is grounded.
00:27:05 - Adding a ground check Trigger.
00:27:58 - Preventing player rotation.
00:28:20 - OnTriggerEnter2D() in C#.
00:29:20 - How to add tags to game objects.
00:30:32 - OnTriggerExit2D() in C#.
00:31:02 - Prevent player double jumping.
00:32:11 - Final adjustment to our Rigidbody2D.
00:33:32 - Thanks for watching!
โค GET ACCESS TO MY LESSON MATERIAL HERE!
First of all, thank you for all the support you have given me!
I am really glad to have such an awesome community on my channel. It motivates me to continue creating and uploading content! So thank you!
I am now using Patreon to share improved and updated lesson material, and for a small fee you can access all the material. I have worked hard, and done my best to help you understand what I teach.
I hope you will find it helpful :)
Patreon: https://www.patreon.com/mmtuts