Hi guys, I dont know how to do something pretty simple, basically i want to rotate my scene around an object while keeping the object centered in the screen.
I.E
Pick an object -(done)
When rotating rotate around the object
Also keep the object in the center of the screen.
The way i’m doing it is
gltranslate to the point of the object
glrotate
gltranslate back
This gives me the rotation around the point but I have no idea how to make it so that the center of the screen is where the object is and still have the sceen rotated though.
Thanks.