filmov
tv
Genshin Impact Movement in Unity | #16 - Falling

Показать описание
In this video we'll be taking a look on how to start Falling, which happens when Jumping or Exiting the Ground.
This was supposed to only come in the second part of the series but for a few reasons I've decided to add it to the first part.
________________________________________________________
Timestamps:
00:00 What will we be doing?
00:34 Downloading the Falling Animations
01:12 Adding Animations to Unity
01:48 How will Falling work?
02:35 Creating the Falling State
03:04 Caching the Falling State
03:23 Creating the On Trigger Exit Method
03:39 Implementing the On Trigger Exit Method
04:03 Calling the On Trigger Exit Method
04:37 Creating the On Contact With Ground Exited Method
05:37 Transitioning to the Falling State
06:28 Checking for Ground Underneath with a RayCast
10:52 Problem: Obstacles Gap
12:16 Creating the Trigger Collider Data Script
15:08 Adding the Trigger Collider Reference
15:23 Checking for Ground Underneath with OverlapBox
18:36 Setting the Falling Speed Modifier
19:21 Limiting Fall Velocity
24:28 Jump To Fall
27:55 Resetting Velocity
28:29 Creating the "ResetVerticalVelocity" method.
29:42 Resetting Sprint State
________________________________________________________
Useful Links:
________________________________________________________
________________________________________________________
This was supposed to only come in the second part of the series but for a few reasons I've decided to add it to the first part.
________________________________________________________
Timestamps:
00:00 What will we be doing?
00:34 Downloading the Falling Animations
01:12 Adding Animations to Unity
01:48 How will Falling work?
02:35 Creating the Falling State
03:04 Caching the Falling State
03:23 Creating the On Trigger Exit Method
03:39 Implementing the On Trigger Exit Method
04:03 Calling the On Trigger Exit Method
04:37 Creating the On Contact With Ground Exited Method
05:37 Transitioning to the Falling State
06:28 Checking for Ground Underneath with a RayCast
10:52 Problem: Obstacles Gap
12:16 Creating the Trigger Collider Data Script
15:08 Adding the Trigger Collider Reference
15:23 Checking for Ground Underneath with OverlapBox
18:36 Setting the Falling Speed Modifier
19:21 Limiting Fall Velocity
24:28 Jump To Fall
27:55 Resetting Velocity
28:29 Creating the "ResetVerticalVelocity" method.
29:42 Resetting Sprint State
________________________________________________________
Useful Links:
________________________________________________________
________________________________________________________