Skip to main content
GameDev.net gamedev.net
🔒 Locked

time based movement

Started by opengl_coder Jan 14, 2003 at 6:26 PM 1 replies 250+ views
Original Post
opengl_coder
opengl_coder
I have seen a lot of projects that use time based movement for moving the camera and objects. But does anybody now which is the best way to do this? I want my objects and camera to move in the same speed now matter how fast the computer is. If you have any good ideas about this, then please post it. Cheers opengl_coder
bakery2k1
bakery2k1
Look at my OpenGL project template for an example of a tetrahedron rotating at a speed independent of frame rate.

http://users.ox.ac.uk/~univ1234
zedzeek
zedzeek
i use a fixed time step its much cleaner
see
http://www.flipcode.com/cgi-bin/msg.cgi?showThread=Tip-MainLoopTimeSteps&forum=totd&id=-1

http://uk.geocities.com/sloppyturds/kea/kea.html
http://uk.geocities.com/sloppyturds/gotterdammerung.html

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.