Something like the game loop
by Garth Wood · in Torque Game Engine · 04/25/2006 (12:49 pm) · 1 replies
Hi
I have made a console function that rotates the camera around the player. At the moment I schedule the function so that it happens every 500ms. This of course causes the camera to jerk.
How and where can I put this so that I can run it as if if was in the game loop function? Which would mean I could use the game time along with a timer to get a smooth rotation.
I have made a console function that rotates the camera around the player. At the moment I schedule the function so that it happens every 500ms. This of course causes the camera to jerk.
How and where can I put this so that I can run it as if if was in the game loop function? Which would mean I could use the game time along with a timer to get a smooth rotation.
About the author
Torque Owner Garth Wood