Ragdoll
Class in Zigurous.CharacterController
Declaration
public class Ragdoll : MonoBehaviour
Description
Enables the ragdoll of a character.
Properties
behaviorsToDisable | The behaviors to disable when the ragdoll is enabled. |
changeLayer | Changes the physics layer of the character when the ragdoll is enabled. |
ragdollLayer | The layer to change to when the ragdoll is enabled. |
Methods
Reset | A Unity lifecycle method called when the behavior is reset in the editor. |
SetBehaviorEnabled<T> | |
SetRigidbodyEnabled | |
SetColliderEnabled | |
SetKinematic |