Mecanim: Stop/Hold Animation

So, I have a death animation where the character is standing, then falling to the ground.

I trigger this animation through a bool value set up in mecanim.

Now I want to play the death animation only once. After that I dont wan’t to blend in another animation. Actually I just want to stop at the last frame of the animation and hold it. Is there any easy way to this?

Regards

I think you’ll need a separate state for ‘staying dead’ - have you tried just adding a new node with no motion in it, and having your death animation node transition to it on exit time?

Well, you can of course do that, but it won’t help me, because the character won’t stay in the dead pose. But instead is in another, quite weird pose.

Just make sure the animation isn’t looping and there are no valid transition leading away from the state. Then it will stay on the last frame of the animation.

If it ends up in a weird state then your last frame isn’t clean.