Model:hasJoints
EditReturns whether the Model has any skeletal animations.
jointed = Model:hasJoints()
Arguments
None
Returns
Name | Type | Description |
jointed | boolean | 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.