Click or drag to resize
TetrapodRagdoll Class
A component used for configuring and maintaining references to a tetrapod character ragdoll hierarchy.
Inheritance Hierarchy

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

The TetrapodRagdoll 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).
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.
Public methodConnectAndMapParts
Connect all parts defined on this instance and map symmetry as needed.
(Overrides ArbitraryRagdollConnectAndMapParts(DictionaryString, String).)
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.
(Overrides ArbitraryRagdollGetAllNodes(ListRagdollPart).)
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.
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.
Protected methodOnPartsChanged
Raises an event when one or more parts changed, which reconnects and remaps parts as needed, and redistributes the hierarchy mass.
(Overrides RagdollOnPartsChanged.)
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.)
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.
Public propertyDefaultCharacterizationTemplate
Gets the default template to be used when Characterize(TetrapodCharacterizationTemplate) is called and no template is supplied.
Public propertyHead
Gets or sets the head.
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 propertyLeftDistalForelimb
Gets or sets the left distal forelimb.
Public propertyLeftDistalHindlimb
Gets or sets the left distal hindlimb.
Public propertyLeftManualPhalanx
Gets or sets the left manual phalanx.
Public propertyLeftManus
Gets or sets the left manus.
Public propertyLeftPedalPhalanx
Gets or sets the left pedal phalanx.
Public propertyLeftPes
Gets or sets the left pes.
Public propertyLeftProximalForelimb
Gets or sets the left proximal forelimb.
Public propertyLeftProximalHindlimb
Gets or sets the left proximal hindlimb.
Public propertyLeftShoulder
Gets or sets the left shoulder.
Public propertyNamingConvention
Gets the naming convention currently in use.
Public propertyNeck
Gets or sets the neck.
Public propertyPelvis
Gets or sets the pelvis.
Public propertyRightDistalForelimb
Gets or sets the right distal forelimb.
Public propertyRightDistalHindlimb
Gets or sets the right distal hindlimb.
Public propertyRightManualPhalanx
Gets or sets the right manual phalanx.
Public propertyRightManus
Gets or sets the right manus.
Public propertyRightPedalPhalanx
Gets or sets the right pedal phalanx.
Public propertyRightPes
Gets or sets the right pes.
Public propertyRightProximalForelimb
Gets or sets the right proximal forelimb.
Public propertyRightProximalHindlimb
Gets or sets the right proximal hindlimb.
Public propertyRightShoulder
Gets or sets the right shoulder.
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.
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.
Public propertySpine
Gets or sets the spine.
Top
See Also