- Home /
Force Animation to Update Immediately?
Is there some way to force an animated character to update its animation immediately? For example, if I want to know where the bones will be at a particular time in a particular animation, I can play the animation and set the frame time with the animation state, but the bone position won't actually update at this point.
Is there something I can do to force the bone positions to update? Currently, I'm yielding with a very small wait, but that's pretty inconvenient if you need to do it a lot. And I do.
Answer by Jaap Kreijkamp · Dec 24, 2009 at 10:47 AM
If I understand your question, Animation.Sample is what you're looking for.
change this to animation.sample and describe it more here to help others. in this way they can understand your answer before openning the link.
Ah yes, the Sample() method in animation seems to be exactly what I needed. Thanks very much.
Your answer
Follow this Question
Related Questions
Adding animation clips via script 2 Answers
Can I make animations snap to a frame? 1 Answer
How to select an animation clip by index number? 7 Answers
Can the animation editor create local rotational data? 3 Answers
Animation Events and Mecanim 0 Answers