Click or drag to resize
HumanoidRagdoll Class
A component used for configuring and maintaining references to a humanoid character ragdoll hierarchy. It is mainly a wrapper for TetrapodRagdoll that uses more colloquially familiar property names and specifies a default TetrapodCharacterizationTemplate.
Inheritance Hierarchy

Namespace: Candlelight.Physics
Assembly: Assembly-CSharp-firstpass (in Assembly-CSharp-firstpass.dll) Version: 0.0.0.0
Syntax
C#
public class HumanoidRagdoll : TetrapodRagdoll, 
	IHumanoidMutable<RagdollPart, RagdollPartChain>, IHumanoid<RagdollPart, RagdollPartChain>, 
	ITetrapod<RagdollPart, RagdollPartChain>, IVertebrate<RagdollPart, RagdollPartChain>, 
	IHierarchy<RagdollPart>, IArbitraryChains<RagdollPart, RagdollPartChain>, 
	IForelimbs<RagdollPart>, IHindlimbs<RagdollPart>, ITetrapodMutable<RagdollPart, RagdollPartChain>, 
	IVertebrateMutable<RagdollPart, RagdollPartChain>, IArbitraryChainsMutable<RagdollPart, RagdollPartChain>, 
	IForelimbsMutable<RagdollPart>, IHindlimbsMutable<RagdollPart>

The HumanoidRagdoll type exposes the following members.

Methods
  NameDescription
Public methodAutomaticallyFindParts
Automatically finds all parts in this object's hierarchy using a TetrapodNamingConvention or Animator. The character is assumed to be in a neutral pose (e.g., T-Pose).
(Inherited from TetrapodRagdoll.)
Public methodCharacterize
Apply Collider, Joint, and Rigidbody properties to all PhysicalBody nodes defined on this instance using the specified template. If the template is , then DefaultCharacterizationTemplate will be used.
(Inherited from TetrapodRagdoll.)
Public methodConnectAndMapParts
Connect all parts defined on this instance and map symmetry as needed.
(Inherited from TetrapodRagdoll.)
Public methodDefinesArbitraryChain
Gets a value indicating whether or not this instance defines an arbitrary RagdollPartChain with the specified identifier.
(Inherited from ArbitraryRagdoll.)
Public methodGetAllNodes
Gets all nodes in this TetrapodRagdoll's definition, with the most basal parts sorted first.
(Inherited from TetrapodRagdoll.)
Protected methodGetArbitraryChains
Gets the arbitrary chains.
(Inherited from ArbitraryRagdoll.)
Public methodGetArbitraryChains(DictionaryString, RagdollPartChain)
Gets the arbitrary RagdollPartChains.
(Inherited from ArbitraryRagdoll.)
Public methodGetDefaultNamingConvention
Gets a default naming convention for this instance.
(Inherited from TetrapodRagdoll.)
Public methodGetEstimatedLocalBounds
Gets the estimated Bounds of this Ragdoll 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 Ragdoll.)
Protected methodOnEnable
Ensure current values of self collision properties are respected.
(Inherited from TetrapodRagdoll.)
Protected methodOnPartsChanged
Raises an event when one or more parts changed, which reconnects and remaps parts as needed, and redistributes the hierarchy mass.
(Inherited from TetrapodRagdoll.)
Protected methodRebuildChain
Rebuilds the specified chain to ensure its bodies are connected.
(Inherited from Ragdoll.)
Protected methodRedistributeHierarchyMass
Redistributes the mass specified on this object to each of the parts, based on their current proportional contribution to the whole hierarchy.
(Inherited from Ragdoll.)
Protected methodReset
Reset this instance.
Public methodSetArbitraryChains(DictionaryString, RagdollPartChain)
Sets the arbitrary chains.
(Inherited from ArbitraryRagdoll.)
Protected methodSetArbitraryChains(IdentifiableRagdollPartChain)
Sets the arbitrary chains.
(Inherited from ArbitraryRagdoll.)
Public methodSetHierarchyAngularDampingProfile
Sets the shape of the angular damping profile for all RagdollParts in the definition. Their values will be the specified profile multiplied by the hierarchy's total mass.
(Inherited from Ragdoll.)
Public methodSetHierarchyAngularPositionForceProfile
Sets the shape of the angular position force profile for all RagdollParts in the definition. Their values will be the specified profile multiplied by the hierarchy's total mass.
(Inherited from Ragdoll.)
Public methodSetHierarchyAngularVelocityForceProfile
Sets the shape of the angular velocity force profile for all RagdollParts in the definition. Their values will be the specified profile multiplied by the hierarchy's total mass.
(Inherited from Ragdoll.)
Public methodSetHierarchyLinearDampingProfile
Sets the shape of the linear damping profile for all RagdollParts in the definition. Their values will be the specified profile multiplied by the hierarchy's total mass.
(Inherited from Ragdoll.)
Public methodSetHierarchyLinearPositionForceProfile
Sets the shape of the linear position force profile for all RagdollParts in the definition. Their values will be the specified profile multiplied by the hierarchy's total mass.
(Inherited from Ragdoll.)
Public methodSetHierarchyLinearVelocityForceProfile
Sets the shape of the linear velocity force profile for all RagdollParts in the definition. Their values will be the specified profile multiplied by the hierarchy's total mass.
(Inherited from Ragdoll.)
Public methodSetHierarchyPhysicsMaterial
Sets the hierarchy physics material. This method will assign the Collider.sharedMaterial property on each Collider referenced in this Ragdoll's definition.
(Inherited from Ragdoll.)
Protected methodStart
Cache the bindpose.
(Inherited from Ragdoll.)
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 propertyCharacterizationTemplate
Gets the characterization template currently in use.
(Inherited from TetrapodRagdoll.)
Public propertyDefaultCharacterizationTemplate
Gets the default characterization template.
(Overrides TetrapodRagdollDefaultCharacterizationTemplate.)
Public propertyHead
Gets or sets the head.
(Inherited from TetrapodRagdoll.)
Public propertyHierarchyMass

Gets or sets the hierarchy mass.

Setting this value will redistribute mass to all PhysicalBody nodes in this Ragdoll's definition, based on their current proportional distribution. For example, if the definition contains two parts, one with mass 5.0 and another with mass 10.0, setting this property to a value of 9.0 would change their masses to 3.0 and 6.0, respectively.

This property will enforce a minimum value of 1.0.

(Inherited from Ragdoll.)
Public propertyLeftCollar
Gets or sets the left collar.
Public propertyLeftDistalForelimb
Gets or sets the left distal forelimb.
(Inherited from TetrapodRagdoll.)
Public propertyLeftDistalHindlimb
Gets or sets the left distal hindlimb.
(Inherited from TetrapodRagdoll.)
Public propertyLeftFinger
Gets or sets the left finger.
Public propertyLeftFoot
Gets or sets the left foot.
Public propertyLeftForearm
Gets or sets the left forearm.
Public propertyLeftHand
Gets or sets the left hand.
Public propertyLeftHip
Gets or sets the left hip.
Public propertyLeftLowerLeg
Gets or sets the left lower leg.
Public propertyLeftManualPhalanx
Gets or sets the left manual phalanx.
(Inherited from TetrapodRagdoll.)
Public propertyLeftManus
Gets or sets the left manus.
(Inherited from TetrapodRagdoll.)
Public propertyLeftPedalPhalanx
Gets or sets the left pedal phalanx.
(Inherited from TetrapodRagdoll.)
Public propertyLeftPes
Gets or sets the left pes.
(Inherited from TetrapodRagdoll.)
Public propertyLeftProximalForelimb
Gets or sets the left proximal forelimb.
(Inherited from TetrapodRagdoll.)
Public propertyLeftProximalHindlimb
Gets or sets the left proximal hindlimb.
(Inherited from TetrapodRagdoll.)
Public propertyLeftShoulder
Gets or sets the left shoulder.
(Inherited from TetrapodRagdoll.)
Public propertyLeftToe
Gets or sets the left toe.
Public propertyLeftUpperArm
Gets or sets the left upper arm.
Public propertyNamingConvention
Gets the naming convention currently in use.
(Inherited from TetrapodRagdoll.)
Public propertyNeck
Gets or sets the neck.
(Inherited from TetrapodRagdoll.)
Public propertyPelvis
Gets or sets the pelvis.
(Inherited from TetrapodRagdoll.)
Public propertyRightCollar
Gets or sets the right collar.
Public propertyRightDistalForelimb
Gets or sets the right distal forelimb.
(Inherited from TetrapodRagdoll.)
Public propertyRightDistalHindlimb
Gets or sets the right distal hindlimb.
(Inherited from TetrapodRagdoll.)
Public propertyRightFinger
Gets or sets the right finger.
Public propertyRightFoot
Gets or sets the right foot.
Public propertyRightForearm
Gets or sets the right forearm.
Public propertyRightHand
Gets or sets the right hand.
Public propertyRightHip
Gets or sets the right hip.
Public propertyRightLowerLeg
Gets or sets the right lower leg.
Public propertyRightManualPhalanx
Gets or sets the right manual phalanx.
(Inherited from TetrapodRagdoll.)
Public propertyRightManus
Gets or sets the right manus.
(Inherited from TetrapodRagdoll.)
Public propertyRightPedalPhalanx
Gets or sets the right pedal phalanx.
(Inherited from TetrapodRagdoll.)
Public propertyRightPes
Gets or sets the right pes.
(Inherited from TetrapodRagdoll.)
Public propertyRightProximalForelimb
Gets or sets the right proximal forelimb.
(Inherited from TetrapodRagdoll.)
Public propertyRightProximalHindlimb
Gets or sets the right proximal hindlimb.
(Inherited from TetrapodRagdoll.)
Public propertyRightShoulder
Gets or sets the right shoulder.
(Inherited from TetrapodRagdoll.)
Public propertyRightToe
Gets or sets the right toe.
Public propertyRightUpperArm
Gets or sets the right upper arm.
Public propertyRoot
Gets the root.
(Inherited from Ragdoll.)
Public propertyShouldAxialSkeletonCollideWithProximalLimbs
Gets or sets a value indicating whether the RagdollParts in the axial skeleton (head, neck, and spine) should ignore collisions with nearby proximal limbs.
(Inherited from TetrapodRagdoll.)
Public propertyShouldAxialSkeletonCollideWithSelf
Gets or sets a value indicating whether the RagdollParts in the axial skeleton (head, neck, and spine) should ignore collisions with one another.
(Inherited from TetrapodRagdoll.)
Public propertySpine
Gets or sets the spine.
(Inherited from TetrapodRagdoll.)
Top
See Also