Animating?

Blitz3D Forums/Blitz3D Programming/Animating?

Craig H. Nisbet(Posted 2005) [#1]
How do you check if a mesh has animation sequences with it? If you pass a mesh to the animate function that doesn't have a animation on it, it errors.


jfk EO-11110(Posted 2005) [#2]
If the Mesh has no Animation (or if it was loaded using LoadMesh instead of LoadAnimMesh), the function

l=AnimLength(mesh)

will return -1.