I have modeled a spaceship in Blender, added some random wobbling and rotation animations to it, and then exported the 3D model to ThreeJs.
When the user presses the LEFT ARROW key, I want the spaceship to rotate to the left on the X-Y plane, and similarly for the RIGHT ARROW key.
However, the animation is causing the rotation coordinates to reset, as shown in the images below:
This is the console output displaying the rotation of my spaceship mesh: https://i.sstatic.net/yoQKc.png
But immediately after the rotation: https://i.sstatic.net/g1vjI.png
What I desire: is for the mesh to rotate and then wobble AROUND the new axis of rotation, rather than its original axis. In simple terms, I want the animation to be based on relative rotation, not absolute rotation. Is this achievable?