I’m beginner in unity.
i was import a package into unit named “outpost”. the outpost have an animation but when i dragged it into hierarchy, the door can’t displayed the animation. i have tried to edit in FBXimporter inspector. it still can’t working correctly.
Please someone help me.
you drag animations into animator not hierarchy if you want your 3d object to be seen import your object that has animations, then drag the character, make an animator assign it to your character and via script control those animation i.e. drive the character if you want more check this awesome tutorial : http://www.youtube.com/watch?v=Xx21y9eJq1U
in my case, the models (outpost) have an animationclip.
i must check an import animations because if i don’t check the import animations, the models haven’t an imported animationclip example : take001.
and in the inspector settings i’ve been drag the clip. but it cann’t be animated.
i’m so frustated, cause this problem. because i’m beginner.
(I assume you have problem with applying the animations and get open door and close door behavior somehow) Alright, you have a mesh with animations but no bones…to preview animations you’ll have to open Window>Animation. Select model in hierarchy and hit play at top in animation view>you must see your particular animation in scene view, if it plays your animation is a’ight. Then do this:
-check import animations in inspector when you select the model/prefab in PROJECT folder
-bring the prefab in heirarchy and add component “Animations”(Add Component>Miscellaneous>Animations)
-in first empty slot Animations add Idle(to set idle as default), set size to 3 and add all animations in order
-create script that will control the behaviour e.g: OnTriggerEnter()/OnTriggerExit()[refer documentation] you’re done!