Rotate objects with axis using keys

Good afternoon, investigating a little I have achieved that through an array of objects to generate a circle and rotate about the center of the circle created.
Instead of rotating with animation I want to rotate to the next object by pressing a key and stay in the position where the reference line is placed.

Good afternoon,

Instead of running rotate every frame, you can simply animate the desired value for the y rotation property of each sphere: Introduction to Animations | Babylon.js Documentation (

1 Like

After researching the documentation I have managed to get it to work! Thank you very much!

1 Like