Click or drag to resize
HumanoidRagdollAnimator Class
A component for driving a TetrapodRagdoll with an animated hierarchy. It is mainly a wrapper for TetrapodRagdollAnimator that uses more colloquially familiar property names.
Inheritance Hierarchy

Namespace: Candlelight.Physics
Assembly: Assembly-CSharp-firstpass (in Assembly-CSharp-firstpass.dll) Version: 0.0.0.0
Syntax
C#
public class HumanoidRagdollAnimator : TetrapodRagdollAnimator, 
	IHumanoid<Transform, TransformChain>, ITetrapod<Transform, TransformChain>, 
	IVertebrate<Transform, TransformChain>, IHierarchy<Transform>, 
	IArbitraryChains<Transform, TransformChain>, IForelimbs<Transform>, 
	IHindlimbs<Transform>, IRagdollBinder<HumanoidRagdoll>

The HumanoidRagdollAnimator type exposes the following members.

Methods
  NameDescription
Protected methodAutomaticallyFindParts
Automatically finds all parts in this object's hierarchy using the serialized naming convention or Animator.
(Inherited from TetrapodRagdollAnimator.)
Protected methodBindRagdoll
Binds the ragdoll to this RagdollAnimator. Its hierarchy will be flattened when it is bound.
(Inherited from RagdollAnimator.)
Public methodDefinesArbitraryChain
Gets a value indicating whether or not this instance defines an arbitrary TransformChain with the specified identifier.
(Inherited from ArbitraryRagdollAnimator.)
Protected methodFixedUpdate
Synchronize the ragdoll and animated hierarchies as needed.
(Inherited from RagdollAnimator.)
Public methodGetAllNodes
Gets all nodes in this TetrapodRagdollAnimator's definition, with the most basal parts sorted first.
(Inherited from TetrapodRagdollAnimator.)
Public methodGetAnimatedBody
For the specified RagdollPart, get the corresponding Transform in the rendered hierarchy.
(Inherited from RagdollAnimator.)
Protected methodGetArbitraryChains
Gets the arbitrary chains.
(Inherited from ArbitraryRagdollAnimator.)
Public methodGetArbitraryChains(DictionaryString, TransformChain)
Gets the arbitrary TransformChains.
(Inherited from ArbitraryRagdollAnimator.)
Public methodGetDefaultNamingConvention
Gets a default naming convention for this instance.
(Inherited from TetrapodRagdollAnimator.)
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.
(Inherited from RagdollAnimator.)
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.
(Inherited from RagdollAnimator.)
Public methodGetOrientationParameters
Gets the orientation parameters.
(Inherited from RagdollAnimator.)
Public methodGetRagdollPart
For the specified Transform, get the corresponding RagdollPart in the physical hierarchy.
(Inherited from RagdollAnimator.)
Protected methodIgnoreColliderForGrounding
Ignores the specified collider when performing the grounding raycast or when testing if grounding bodies are grounded.
(Inherited from RagdollAnimator.)
Public methodIgnoreCollisionsBetweenAnimatorAndRagdoll
Ignores the collisions between the animated and ragdoll hierarchies based on the specified value.
(Inherited from RagdollAnimator.)
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.
(Inherited from RagdollAnimator.)
Protected methodLateUpdate
Perform final actions for the frame.
(Inherited from RagdollAnimator.)
Protected methodMapHierarchies
Map the animator and ragdoll hierarchies to each other.
(Inherited from TetrapodRagdollAnimator.)
Protected methodOnDestroy
Raises the destroy event.
(Inherited from RagdollAnimator.)
Protected methodOnDisable
Raises the disable event.
(Inherited from RagdollAnimator.)
Protected methodOnEnable
Raises the enable event.
(Inherited from TetrapodRagdollAnimator.)
Protected methodPrepareHierarchies
Prepares the hierarchy mappings and regenerates the list of colliders to ignore.
(Inherited from RagdollAnimator.)
Protected methodSetArbitraryChains
Sets the arbitrary chains.
(Inherited from ArbitraryRagdollAnimator.)
Public methodSetBodyShouldAnimateWhenDisconnected
Indicate that the specified animated body should continue to animate when one of its ancestors disconnects.
(Inherited from RagdollAnimator.)
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.
(Inherited from RagdollAnimator.)
Public methodSetOrientationParameters
Sets the orientation parameters.
(Inherited from RagdollAnimator.)
Protected methodStart
Start this instance.
(Inherited from RagdollAnimator.)
Public methodUnbindRagdoll
Unbinds the ragdoll currently bound to this instance, returning its hierarchy to the state it was in when bound.
(Inherited from RagdollAnimator.)
Protected methodUnignoreColliderForGrounding
Unignores the specified collider when performing the grounding raycast or when testing if grounding bodies are grounded.
(Inherited from RagdollAnimator.)
Protected methodUpdate
Emit error messages if avatar or controller change at run-time and preprocess animator if necessary.
(Inherited from RagdollAnimator.)
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
Properties
  NameDescription
Public propertyAnimator
Gets the animator.
(Inherited from RagdollAnimator.)
Public propertyFullHierarchyBlendProgress
Gets the normalized progress of this instance blending out of full-hierarchy ragdoll.
(Inherited from RagdollAnimator.)
Public propertyFullHierarchyBlendTime
Gets or sets the number of seconds to take when blending from full-hierarchy ragdoll back to animation data.
(Inherited from RagdollAnimator.)
Public propertyFullHierarchyRagdollParameter
Gets or sets a AnimatorControllerParameterType.Bool parameter specifying that the full hierarchy is ragdoll.
(Inherited from RagdollAnimator.)
Public propertyGroundSurfaces
Gets or sets the ground surfaces. This value is used to reposition the animated hierarchy when the it exits full-hierarchy ragdoll.
(Inherited from RagdollAnimator.)
Public propertyHead
Gets the head.
(Inherited from TetrapodRagdollAnimator.)
Public propertyLeftCollar
Gets the left collar.
Public propertyLeftDistalForelimb
Gets the left distal forelimb.
(Inherited from TetrapodRagdollAnimator.)
Public propertyLeftDistalHindlimb
Gets the left distal hindlimb.
(Inherited from TetrapodRagdollAnimator.)
Public propertyLeftFinger
Gets the left finger.
Public propertyLeftFoot
Gets the left foot.
Public propertyLeftForearm
Gets the left forearm.
Public propertyLeftHand
Gets the left hand.
Public propertyLeftHip
Gets the left hip.
Public propertyLeftLowerLeg
Gets the left lower leg.
Public propertyLeftManualPhalanx
Gets the left manual phalanx.
(Inherited from TetrapodRagdollAnimator.)
Public propertyLeftManus
Gets the left manus.
(Inherited from TetrapodRagdollAnimator.)
Public propertyLeftPedalPhalanx
Gets the left pedal phalanx.
(Inherited from TetrapodRagdollAnimator.)
Public propertyLeftPes
Gets the left pes.
(Inherited from TetrapodRagdollAnimator.)
Public propertyLeftProximalForelimb
Gets the left proximal forelimb.
(Inherited from TetrapodRagdollAnimator.)
Public propertyLeftProximalHindlimb
Gets the left proximal hindlimb.
(Inherited from TetrapodRagdollAnimator.)
Public propertyLeftShoulder
Gets the left shoulder.
(Inherited from TetrapodRagdollAnimator.)
Public propertyLeftToe
Gets the left toe.
Public propertyLeftUpperArm
Gets the left upper arm.
Public propertyNamingConvention
Gets the naming convention currently in use.
(Inherited from TetrapodRagdollAnimator.)
Public propertyNeck
Gets the neck.
(Inherited from TetrapodRagdollAnimator.)
Public propertyOnEnterFullHierarchyRagdoll
Gets the event when full hierarchy ragdoll was entered (i.e. all parts just now have a strength of 0).
(Inherited from RagdollAnimator.)
Public propertyOnExitFullHierarchyRagdoll
Gets the event when full hierarchy ragdoll was exited (i.e. all parts had a strength of 0 and at least one is now greater than 0).
(Inherited from RagdollAnimator.)
Public propertyOnPostprocessAnimatedHierarchy
Gets the event right before the animated hierarchy is finalized for rendering.
(Inherited from RagdollAnimator.)
Public propertyOnPostprocessInputPose
Gets the event when the input pose has been set up, before it has been applied to the ragdoll. Subscribe to this event for applying procedural animation normally applied in LateUpdate() (e.g., custom IK solvers).
(Inherited from RagdollAnimator.)
Public propertyOnPreprocessAnimatedHierarchy
Gets the event before the Animator has been updated. Subscribe to this event if you need to revert changes to non-animated transforms made in the previous frame. For example, if you are using Final IK, you would insert a call to FixTransforms() here if necessary.
(Inherited from RagdollAnimator.)
Public propertyOrientationParameterUpdateMode
Gets or sets the orientation parameter update mode.
(Inherited from RagdollAnimator.)
Public propertyPelvis
Gets the pelvis.
(Inherited from TetrapodRagdollAnimator.)
Public propertyRagdoll
Gets the ragdoll being animated by this instance.
(Inherited from RagdollAnimator.)
Public propertyRightCollar
Gets the right collar.
Public propertyRightDistalForelimb
Gets the right distal forelimb.
(Inherited from TetrapodRagdollAnimator.)
Public propertyRightDistalHindlimb
Gets the right distal hindlimb.
(Inherited from TetrapodRagdollAnimator.)
Public propertyRightFinger
Gets the right finger.
Public propertyRightFoot
Gets the right foot.
Public propertyRightForearm
Gets the right forearm.
Public propertyRightHand
Gets the right hand.
Public propertyRightHip
Gets the right hip.
Public propertyRightLowerLeg
Gets the right lower leg.
Public propertyRightManualPhalanx
Gets the right manual phalanx.
(Inherited from TetrapodRagdollAnimator.)
Public propertyRightManus
Gets the right manus.
(Inherited from TetrapodRagdollAnimator.)
Public propertyRightPedalPhalanx
Gets the right pedal phalanx.
(Inherited from TetrapodRagdollAnimator.)
Public propertyRightPes
Gets the right pes.
(Inherited from TetrapodRagdollAnimator.)
Public propertyRightProximalForelimb
Gets the right proximal forelimb.
(Inherited from TetrapodRagdollAnimator.)
Public propertyRightProximalHindlimb
Gets the right proximal hindlimb.
(Inherited from TetrapodRagdollAnimator.)
Public propertyRightShoulder
Gets the right shoulder.
(Inherited from TetrapodRagdollAnimator.)
Public propertyRightToe
Gets the right toe.
Public propertyRightUpperArm
Gets the right upper arm.
Public propertyRoot
Gets the root.
(Inherited from RagdollAnimator.)
Public propertySpine
Gets the spine.
(Inherited from TetrapodRagdollAnimator.)
Public propertyStrengthUpdateMode
Gets or sets the strength update mode to use when applying Strength values to the ragdoll.
(Inherited from RagdollAnimator.)
Top
Events
  NameDescription
Public eventOnEnterRagdollState
Occurs when a RagdollPart enters a ragdoll state (i.e. its strength just now became 0).
(Inherited from RagdollAnimator.)
Public eventOnExitRagdollState
Occurs when a RagdollPart exits a ragdoll state (i.e. its strength was 0 and is now greater than 0).
(Inherited from RagdollAnimator.)
Top
Remarks
See RagdollAnimator for more notes and limitations.
See Also