Главная
Study mode:
on
1
- Introduction.
2
- Getting Unity ready!
3
- Creating our Sprites.
4
- Adding Rigidbody2D and Colliders.
5
- Creating our C# PlayerController Script.
6
- I have a C# course!
7
- Understanding what is in our Script.
8
- Fields, Properties, and Methods in C#.
9
- Using, Classes and MonoBehaviour in C#.
10
- Start, Update, and FixedUpdate in C#.
11
- The Void keyword in our methods?
12
- Creating our Fields.
13
- Assigning values to our Fields.
14
- How to get player input.
15
- Moving our player using AddForce.
16
- Jumping using AddForce.
17
- Checking if player is grounded.
18
- Adding a ground check Trigger.
19
- Preventing player rotation.
20
- OnTriggerEnter2D in C#.
21
- How to add tags to game objects.
22
- OnTriggerExit2D in C#.
23
- Prevent player double jumping.
24
- Final adjustment to our Rigidbody2D.
25
- Thanks for watching!
Description:
Learn how to implement 2D character movement and jumping in Unity using Rigidbody2D in this comprehensive 34-minute tutorial. Gain an introduction to C# programming while creating a PlayerController script to handle character movement. Follow along as the instructor guides you through setting up Unity, creating sprites, adding Rigidbody2D and colliders, and implementing essential C# concepts. Master techniques for player input, using AddForce for movement and jumping, implementing ground checks, preventing rotation, and handling trigger events. By the end of this tutorial, you'll have a solid foundation in 2D character control in Unity, complete with double jump prevention and final Rigidbody2D adjustments.

2D Character Movement in Unity - Rigidbody2D Movement and Jumping in Unity - Unity Tutorial

Dani Krossing
Add to list
0:00 / 0:00