- Home /
JavaScripting to control animation clips?
Hi.
I have a problem trying to play an amination for a character in my game. The animation and character are from a blender file. I would like to know how to javascript the character to play the animation when needed. The animation I'm currently wanting to have play in game is the default animation, waiting. Other animations are of the character in action. Can that as well be in the same script file?
Does anyone have an idea for this?
Thank you.
Answer by smallbit · Oct 29, 2013 at 04:41 PM
One good way to manage different animations of the object is via Unity mecanim look here http://unity3d.com/unity/animation there are many tutorials on that on Youtube.
Basically is the best way to manage states like walking waiting etc and also adjust blending between them so it all looks very smooth.
Your answer
Follow this Question
Related Questions
Blender animation import 1 Answer
Why is the this animation property locked ? 0 Answers
keyframes problem 1 Answer
Blender+Unity exports 1 Answer
animation stuck in loop 0 Answers