Ragdoll


Declaration

public class Ragdoll : MonoBehaviour

Description

Enables the ragdoll of a character.

Properties

behaviorsToDisableThe behaviors to disable when the ragdoll is enabled.
changeLayerChanges the physics layer of the character when the ragdoll is enabled.
ragdollLayerThe layer to change to when the ragdoll is enabled.

Methods

ResetA Unity lifecycle method called when the behavior is reset in the editor.
SetBehaviorEnabled<T>
SetRigidbodyEnabled
SetColliderEnabled
SetKinematic