Rotation After Translation

Hi everyone,

I have a problem in sequencing two animations on the same mesh.

I want to translate the box and rotate it only after the translation .

But the mesh is translating AND rotating at the same time.

Here’s my PG : https://playground.babylonjs.com/#7V0Y1I#2724

What’s the problem ?

Thanks in advance,

Boris

I think you want to sequence like this, see following PG:

You need to start at frame 0 on both animations and end at max frames of both. Also begin from to (min-max of both)

or use onAnimationEnd:

3 Likes