Hello! I am create my first project in Babylon.js - Rubik’s Cube Game.
I have some trouble with rotations.
I have array with cubies and I filter their and select some cubies when a need rotate some cube’s face.
I change parent node for selected cubies, then I play animation for this parent and change parent again.
When I run animation again some cubies have wrong coordinates (previous value equal -1, but new value equal -2.220446049250313e-16) and I have a bug
I think I need reset some parameters for cubies after transformation, but I don’t understand which parameters.
Could you help me with this problem please
I created example in playground: Babylon.js Playground