Animations

BlitzMax Forums/MiniB3D Module/Animations

jamesmintram(Posted 2008) [#1]
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


Warner(Posted 2008) [#2]
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.


jamesmintram(Posted 2008) [#3]
Cheers mate.

ExtractAnimSeq is exactly what I was looking for.

James