ArcBasicDocs

LoadAnimMesh

Loads an animated mesh hierarchy.

LoadAnimMesh ( filename$[,parent] )

Parameters

filename$
the model file: .glb, .gltf, .fbx, .x or .3ds.
parent (optional)
an entity to attach it to, or 0 for none.

Description

Loads a 3D model with its parts and animations, and gives back the handle of its top entity, or 0 if it can't be loaded. Each part is a child entity that FindChild can find by name. Play its animations with Animate. A .glb, .gltf or .fbx model brings all its animations; CountAnimSeqs, AnimSeqName and FindAnimSeq find them by name. Free animated characters (CC0, by Kenney) are in the media/kenney folder.

See also