i haven't dealt with animations in 3D yet, but I've done it with 2D. Basically, I decide how many milliseconds per frame there are in the animation. So 30 frames/sec would equal 33.3333 millisec/frame, round off to 33. Then I set a time for animation start before the main loop.
Then in the main loop I can calculate which frame the animation should be on.
You could use the same method for 3D, but looking through the Blitz3D help, I can't find any reference on how to have Blitz display a particular frame of an animation. Only for stopping and starting automatic animation.
anim_start_time = millisecs()
Then in the main loop I can calculate which frame the animation should be on.
anim_time = millisecs() - anim_start_time frame = (anim_time/33) mod num_frames
You could use the same method for 3D, but looking through the Blitz3D help, I can't find any reference on how to have Blitz display a particular frame of an animation. Only for stopping and starting automatic animation.