Click or drag to resize
RagdollAnimator Methods

The RagdollAnimator type exposes the following members.

Methods
  NameDescription
Protected methodBindRagdoll
Binds the ragdoll to this RagdollAnimator. Its hierarchy will be flattened when it is bound.
Protected methodFixedUpdate
Synchronize the ragdoll and animated hierarchies as needed.
Public methodGetAllNodes
Gets all nodes.
Public methodGetAnimatedBody
For the specified RagdollPart, get the corresponding Transform in the rendered hierarchy.
Public methodGetEstimatedLocalBounds
Gets the estimated Bounds of this RagdollAnimator in its current configuration, in the space of its Transform component. It will encapsulate all of the Transforms of the hierarchy's nodes, as well as all of the currently active SkinnedMeshRenderers and MeshRenderers.
Public methodGetGroundingBodies
Gets a set of animated bodies and associated minimum strength values. By default, if any one of these parts falls below its minimum strength while contacting a ground layer then the full hierarchy will enter a ragdoll state.
Public methodGetOrientationParameters
Gets the orientation parameters.
Public methodGetRagdollPart
For the specified Transform, get the corresponding RagdollPart in the physical hierarchy.
Protected methodIgnoreColliderForGrounding
Ignores the specified collider when performing the grounding raycast or when testing if grounding bodies are grounded.
Public methodIgnoreCollisionsBetweenAnimatorAndRagdoll
Ignores the collisions between the animated and ragdoll hierarchies based on the specified value.
Public methodIsPartDisconnected
Determines whether the specified animated body has been disconnected, either because its joint broken or because a joint on one of its parents broke off.
Protected methodLateUpdate
Perform final actions for the frame.
Protected methodMapHierarchies
Map the animator and ragdoll hierarchies to each other.
Protected methodOnDestroy
Raises the destroy event.
Protected methodOnDisable
Raises the disable event.
Protected methodOnEnable
Raises the enable event.
Protected methodPrepareHierarchies
Prepares the hierarchy mappings and regenerates the list of colliders to ignore.
Public methodSetBodyShouldAnimateWhenDisconnected
Indicate that the specified animated body should continue to animate when one of its ancestors disconnects.
Public methodSetGroundingBodies
Sets a table of animated bodies and associated minimum strength values. By default, if any one of these parts falls below its minimum strength while contacting a ground layer then the full hierarchy will enter a ragdoll state.
Public methodSetOrientationParameters
Sets the orientation parameters.
Protected methodStart
Start this instance.
Public methodUnbindRagdoll
Unbinds the ragdoll currently bound to this instance, returning its hierarchy to the state it was in when bound.
Protected methodUnignoreColliderForGrounding
Unignores the specified collider when performing the grounding raycast or when testing if grounding bodies are grounded.
Protected methodUpdate
Emit error messages if avatar or controller change at run-time and preprocess animator if necessary.
Top
Extension Methods
  NameDescription
Public Extension MethodGetPrefabName
Gets the name of the prefab associated with the supplied instance.
(Defined by ObjectX.)
Public Extension MethodOpenReferencePage
Opens a reference web page generated for the specified object.
(Defined by ObjectX.)
Top
See Also