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
If I logged cubie coordinates (cubie.position and cubie.absolutePosition) then I saw wrong Y or X coordinate, but in Scene Inspector coordinates is right. Maybe it’s a bug?