Holding the last frame of each animation clip

Hi Guys,

I’m performing multiple animations like translation, rotation on a single part like sphere, cube.
I want to hold the last frame of each animation clip when it ends, I tried setting the clampWhenFInished property to TRUE but it seems to work with whole animation and not on a individual clip.

Any help or suggestions would be appreciated, Thanks.

Hi, I’m new to the Animation system (since 2015) and am learning it now. But isn’t an action related to an ‘individual clip’? AFAIK we can set action.clampWhenFinished = true, which I thought it should work to that action alone, so should work on that underlying AnimationClip?

Hi,

Thanks for the quick reply.

I have a single Cube and has 2 translation animation on it, For the first clip the part moves in x direction and then for the second it moves in y direction.
I want to hold the animating frame when the first clip ends in x direction.
I’ve tried the action.clampWhenFinished = true but it still comes on its initial position.
Although, it works for the second clip.

If you have any other solution let me know I can try implementing it.

Thanks.