I am currently working with Three.js, utilizing existing object methods to create animations without shaders. However, I have a simple question: is it possible to combine multiple animations on a shape? For example, rotating and translating a sphere. When I try the following code:
three.sphere.rotation.y += 0.1;
three.sphere.translateZ += 1;
The result is that the sphere rotates but the translation vector also rotates, rendering the translation ineffective. I have some experience with OpenGL and have used glPushMatrix and glPopMatrix functions before. Do similar functionalities exist in this framework? Thanks!