Regulating anim speed with delta timing?

Blitz3D Forums/Blitz3D Programming/Regulating anim speed with delta timing?

Axe:
I do not use any value on updateworld in my programs. However, I also do not use the standard animation commands. In fact, I don't even use animation. But if I DID use animation, then I would manually specify the animation frame I want for each entity rather than muck about with updateworld. Automatic animation updates might seem nice, but how often do you REALLY want an animation to play back at the same speed? Perhaps you want the player to pull put a new gun at the same speed every frame, but if you have a car, or a player running, you want the tires and the players legs to animate at the same speed they're moving. So you need to control that manually. I beleive the command I'm thinking of is called SetAnimTime.

If you really want to use the updateworld command though, I can't help you. I'm looking at the command right now myself, and frankly these help instructions for this particular command are atrociously bad. It says the normal value is 1. That is the normal playback rate. What is the normal playback rate? Is that stored in the file? Does the file specify that the animation should play back at 60 frames per second? And if it plays back at 60 frames per second always no matter what, why would you need to change the value for updateworld to get the animation to play back at the right speed? Clearly that is not what it is doing, if in fact the animation speed is changing on you, because the animation speed should be tied to the timer and not to how many times you call renderworld.

So I don't know what is going on. It's too confusing. Sorry! :-) I suggest you animate stuff manually. I don't use that tweening crap for the same reason. It is much simpler to use delta time and animate things manually.