Check is there an animation into an .x or b3d file

Blitz3D Forums/Blitz3D Programming/Check is there an animation into an .x or b3d file

hub(Posted 2003) [#1]
Hi !

Is it possible to determine if exist animation informations into an .x or .b3d file before load it (to choose loadmesh or loadanimmesh) ?

Thanks !


jhocking(Posted 2003) [#2]
You could parse the file yourself to check for animation info before loading it with LoadAnimMesh. Besides that I don't think so, but then I also don't see the point. Unless I am missing something you could just use LoadAnimMesh all the time; even without animation the file will still load.