Java 3D circular movement?
I'm working on a 3D game and I'm trying to move my object roundly. It must follow a circumference when it's moving.
I've got the following variables/function:
-motionX, motionY, motionZ
-posX, posY, posZ
-"onupdate()" function which update the state, the position and the movement of the object
-the coords of the circumference's centre
-the size of the radius
How can I move this object roundly around the centre?
Is there a function in GL11 or in another library? Can you write an example?
Thanks really much,