Animations

BlitzMax Modules Forums/MiniB3D/Animations

Hello,

I am wondering if is possible to animate a 3d entity between 2 frames?

Ie startAnim ( Start, End, FPS, AnimType )

If that is not possible would it involve a lot of work to implement?

I am not too clued up on 3D, so I thought I'd ask if there was a simple way of doing it before diving too deeply into the matter!

James

Perhaps you could use SetAnimTime to manually animate the entity ? Ie.: SetAnimTime mesh, start + 0.5 + (sin(millisecs() * 0.1) * (end-start) * 0.5)
Otherwise, there is ExtractAnimSeq. It returns the index number of a new animseq that you can use for the Animate command.

Cheers mate.

ExtractAnimSeq is exactly what I was looking for.

James