rotation of a sphere on translated axis
Suppose we have a jit.gl.gridshape sphere.
Now we rotate it (translate) by 30° the Y axis and 20° on the Z.
Now I'd like to constantly rotate that sphere on the X axis.
I have a texture with a line on the x axis, I need to keep the x axis steady not wobbling..
How to do it?
The question is: in the end, you want to rotate that sphere on its own X axys or on the world's X axys?
on its own X axis.
I can't rotate the world, I need to change perspective by hand
That's not what I meant (rotate the world). I was referring to rotating the object with its own internal X axys (after the Y and Z rotations), or with a "world" or "screen" axys, in which we assume X to always be "horizontal", Y "vertical" and Z "depth".
Anyway, if you want to control the order of rotation of an object and other parameters, take a look at jit.anim.node.