Hello,
I guess my problem is too simple to be documented as a tutorial, I also searched but wasn't able to find anything on this.
I need to rotate an object (in my case a 3ds bow). I should be able to turn it left, right, up and down on its OWN axis.
I can use
Code:
glRotatef(rotX, 1.0,0.0,0.0);
glRotatef(rotY, 0.0,1.0,0.0);
but this rotates the Bow in a weird way. Also I dont know in which order I should scale, translate and roate the object.
I also have an arrow in 3ds. I have managed to "lock" the arrow and bow together and they rotate in the same weird way.
other then not being able to turn the object on its own axis, I have a few more issues.
Any help is appricated.
Thanks..