Click or drag to resize
RagdollHierarchyMass Property

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.

Namespace: Candlelight.Physics
Assembly: Assembly-CSharp-firstpass (in Assembly-CSharp-firstpass.dll) Version: 0.0.0.0
Syntax
C#
public float HierarchyMass { get; set; }

Property Value

Type: Single
The total mass of all PhysicalBody nodes in this Ragdoll's definition.
See Also