I am trying to make an animation that rotates around the local Y axis, however im not sure how i can do that in an animation. Here is my attempt:
However this goes by global axis.
I had used a setInterval function to update cube.addRotation() however setInterval is causing some other problems, and i would much rather use babylon animations.
Any ideas how i could do this?