Timing Animated Models

Blitz3D Forums/Blitz3D Programming/Timing Animated Models

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Like jhocking said, use UpdateWorld(t#)

t# is a value that is calculated from the current framerate:

ms#=millisecs()
fps#=1000.0/(ms-ms2)
ms2=ms
t#=60.0/fps
updateworld(t#)

now you can set the speed with the animate command, and it will be adjusted for any framerate.