Hey all,
I have a character with 3 different animations in a 3ds Max file, exported as FBX, imported into Unity, and used it in place of the capsule for the 1st person controller, and finally moved the camera back a bit to capture the 3rd person controller feel.
I have separated the animations in the inspector, but how to I actually control those animations now? When I click ‘play’ the character goes through all of the animations at once.
I would like to press a certain button on the keyboard to trigger one of the specific animations associated with the character…and so on for the rest of the animations for my character.
Thanks for any guidance!
Insted of using a first person controller, drag your base model onto the scene. At the top tab click on 'Component>Scripts>Third Person Controller. Add that to your chracter model. Then when you have your camera positioned go again to the top tab and add ‘Component>Scripts>Third PersonCamera’. Drag the camera onto your model in the hirachy view so it follows your chracter.
On your base model with the 3rd Person Controller script attached you should see something like ‘Walk Animation, Idle animation, etc.’ and then next to that a button to select animations. Click on that and add all the animations you need to the script, then press play. It should work…
Hope this helps!