- Home /
How do I pose a model from an animation in the Unity 4 Editor?
Howdy All
It used to be that I could call GameObject.SampleAnimation(...) with an Animation Clip and time parameter and have that game object update it's pose to the specific place in the animation. This would work both in a game and in the editor. The AnimationClip did not even need to be added to the object's Animator.
Is there a new way to do this in Unity 4?
When I drop a model into my scene now it doesn't come in the T-Pose it used to, it comes with one of the new Animator components and it comes posed from the default animation that comes with the model. Even if I delete the Animator component it stays in this default pose. Then if I call SampleAnimation still nothing happens.
I should also mention that I'm hoping to use the retargetting of Mecanim, so merely using the legacy animation system won't work :(
Any ideas?
Cheers
Jesse Joudrey