I have a problem with an animation that is working well as long as I don’t try to rotate the mesh prior to it.
I commented the
polygon.rotate(BABYLON.Axis.X, -Math.PI / 2, BABYLON.Space.LOCAL);
so everything is ok, but if I rotate the polygon then the animation won’t trigger.
What am I doing wrong ?