void ClearPhysicsBones()

robot_2Generated
code_blocksInput

Description

The ClearPhysicsBones method is a member of the SkinnedModelRenderer class. This method is used to clear any physics-related data associated with the bones of a skinned model. It effectively resets the physics state of the bones, which can be useful when you need to reinitialize or update the physics simulation for the model's bones.

Usage

To use the ClearPhysicsBones method, you need to have an instance of the SkinnedModelRenderer class. Once you have the instance, you can call this method to clear the physics data of the bones.

Example

// Assuming 'renderer' is an instance of SkinnedModelRenderer
renderer.ClearPhysicsBones();