Let's go ahead and try to give ourselves a little challenge here.
What we're going to do is we're going to create a third person character controller.
And this third person character controller is going to have unique states.
It's going to have a camera that is aimed for running behind the player.
When the shift is held down, it's also going to have an aim state where if you
hold the right mouse button, you're going to aim down your gun sights.
And then when you let go, it goes back to normal.
And then there's going to be a death state where when you do end up dying.
And in this instance, we're just going to have an input for it.
Just having to be a key press.
The camera then moves to a death camera.
We will provide you with the animations in a project link file here.
And you're also going to want to download the third person character controller
off of Unity Asset Store.
It can actually be found on Unity Asset Store.
If you look for starter assets and there's two of them, there's the first person
and third person.
Just go ahead and click on the third person and add it to your assets.
It is free.
There is no cost to you and you'll use this for your demonstration.
Now, to make sure you start this challenge correctly, go ahead and add a new scene.
And in here, go ahead and add in a plane and make sure that plane is set to zero.
For me, I'm going to also throw in a material.
There you go.
And I drop an orange material right here.
And then once you've got this imported, you should just have a starter assets area.
We're going to want to do the you even have the third person character controller
armature, which is the character or you have the capsule.
We're going to drop in the armature.
And so it's just going to place it right into the scene.
Once that's added, as long as you have file, or I'm sorry, a cinema machine loaded,
you should be able to just press play and your characters should be able to move
around, walk around, hold shift and run.
You may want to scale up your floors a little bit.
And when it comes to the characters and you import these into your scene,
they're going to come in looking kind of like this.
And in order to make sure that your characters add the correct animation,
it's going to come in more than likely set to generic.
And when it's set to generic, you can't use the animation for your characters.
So you got to click on, let's say the particular animation.
I'm just using running for this instance, but you're going to use death and aim.
You're going to want to click it and make sure you set your rig animation type to
humanoid and hit apply.
Once you do this, then just go ahead and select your animation, which would be
mixmo.com.
If you duplicate it, it should have this character that appears right here.
Then just go ahead and change it to running.
And this is going to be, let's say the animation you're going to apply to your
character. So this should help you get set up to add animations to your
character. We'll do more when we do our character course, but this should
give you enough to get you a head start and to kind of put together your
character animation states.