hi, sorry for the basic question but I’m a bit confused about animation clips. I’m downloading them from mixamo which comes with a model. I plan to have 20 or so different NPCs, all humanoid. do i need to get a set of animations for each character model or can an animations clip file be used by many different mixamo compatible humanoids?
thanks
Separate for all works best. Each characters body is different in size and shape, so the rig will be setup differently.
Try using the same humanoid rig for two characters and you’ll see what I mean.
I found it best to choose my character in Mixamo, then export all the animations I wanted for that character at the same time. Then in Unity keep them all together for that character in the Project folder (eg. npc1/anim1, anim2 etc - and named appropriately if you are going to have 20).
Initially I had all my characters and animations in one folder with no naming convention and it got messy!
thanks but does that mean i need to create and animation controller for each model too?
Sorry, missed this. You’ve probably figured it out by now but if not:
You will need an animation controller for each npc, then add all the animations for that npc into that single controller (though you can create seperate controllers for certain circumstances if you wish). From there you can call the animations from code as you need them. There are some good videos on YouTube and also the Unity Learn site on how to use the animation controller.