Tweening

Blitz3D Forums/Blitz3D Programming/Tweening

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.

The point of tweening is that it smooths out _animated_ characters no matter what the framerate at any gven moment.

To smoothly rotate a cube a certain amount in a given period you would either have to:
a) create an animation of a cube using a bone pivot, or
b) if using your own then read the pitch,roll,yaw every frame and calculate ahead how much you need to turn the cube for the next ideal time slice.

My own tutorial on tweening is at
http://www.blitzbasic.co.nz/codearcs/codearcs.php?code=1497