skeleton:setSlotsToSetupPose()¶
Type:
functionOverview:¶
Resets only the slots of the skeleton to their setup pose, preserving bone transforms. Use this if you want to restore default attachments but keep the current bone positions.
Syntax:¶
skeleton:setSlotsToSetupPose()
Example:¶
-- Restore default slot attachments
hero:setSlotsToSetupPose()