Model:hasJoints

Returns whether the Model has any skeletal animations.

jointed = Model:hasJoints()

Arguments

None

Returns

NameTypeDescription
jointedboolean Whether the animation uses joint nodes for skeletal animation.

Notes

This will return when there's at least one skin in the model, as returned by ModelData:getSkinCount.

Even if this function returns true, the model could still have non-skeletal animations.

Right now a model can only be drawn with one skeletal pose per frame.

See also