Click or drag to resize
TetrapodCharacterizationTemplateTryDistributeSpineMass Method
Tries to distribute the spine mass. Override this method if you need to interpret the center of mass differently.

Namespace: Candlelight.Physics
Assembly: Assembly-CSharp-firstpass (in Assembly-CSharp-firstpass.dll) Version: 0.0.0.0
Syntax
C#
protected virtual bool TryDistributeSpineMass(
	RagdollPartChain spine,
	float chainMass,
	float centerOfMass,
	RagdollPart pelvis
)

Parameters

spine
Type: Candlelight.PhysicsRagdollPartChain
Spine.
chainMass
Type: SystemSingle
Mass of the spine chain.
centerOfMass
Type: SystemSingle
A parameter value for the center of mass. By default this value is interpreted as a percentage of the length of the chain.
pelvis
Type: Candlelight.PhysicsRagdollPart
Pelvis.

Return Value

Type: Boolean
if spine mass was assigned; otherwise, .
See Also