Removes the muscle with the specified joint and all muscles connected to it from PuppetMaster management. This will not destroy the body part/prop, but just release it from following the target. If you call RemoveMuscleRecursive on an upper arm muscle, the entire arm will be disconnected from the rest of the body.
- Parameters
-
joint | The joint of the muscle (and the muscles connected to it) to remove. |
attachTarget | If set to true , the target Transform of the first muscle will be parented to the disconnected limb. |
blockTargetAnimation | If set to true , will add AnimationBlocker.cs to the removed target bones. That will override animation that would otherwise still be writing on those bones. |
removeMode | Remove mode. Sever cuts the body part by disconnecting the first joint. Explode explodes the body part disconnecting all joints. Numb removes the muscles from PuppetMaster management, keeps the joints connected and disables spring and damper forces. |