In this video we talk about how to add an animated character to the Nav Mesh Agent we created in the previous video: • AI Navigation in Unity
We discuss how to listen to an agent's velocity to switch between Idle, Walking, and Running animations. We also detect when our agent is traversing an Off Mesh Link and play a jump animation.
Animated Robot by Quaternius: https://poly.pizza/m/QCm7qe9uNJ
XRTerra Links:
Programs and Courses: http://www.xrterra.com/programs
Newsletter Signup: https://www.xrterra.com/mailing-list-...
00:00 Intro
00:49 Review of our scene
01:40 Downloading an Animated Character
03:48 Adding Model to Scene
05:01 Creating Animator Controller
05:54 Duplicating Animation Clips
08:02 Testing Idle Animation
08:26 Speed Parameter Transitions
10:28 Testing out speed parameter
11:09 Has Exit Time
12:23 Setting Speed Parameter Through Code
15:04 Testing Nav Agent Animation Script
16:48 Creating Jump Trigger
18:23 Testing Jump Trigger
19:23 Triggering Jump On Off Mesh Link
22:33 Testing Off Mesh Link Jump
23:36 Auto Traverse Off Mesh Link
25:53 CompleteOffMeshLink()
26:31 Finding Jump Animation Windup Time
27:48 Testing Jump Windup Time
28:33 Outro
Instructor: Gregory Osborne