skeleton:setBonesToSetupPose()¶
Type:
functionOverview:¶
Resets only the bones of the skeleton to their setup pose, leaving slot attachments untouched. This is handy if you only want to restore bone transforms but keep the current visual attachments.
Syntax:¶
skeleton:setBonesToSetupPose()
Example:¶
-- Reset just the bones, preserving the slot attachments
hero:setBonesToSetupPose()