Click or drag to resize
TetrapodCharacterizationTemplateApplyCenterOfMassParameter Method
Applies the center of mass parameter value to the supplied body, interpreting parameter as the percentage of the distance to the average position of its children.

Namespace: Candlelight.Physics
Assembly: Assembly-CSharp-firstpass (in Assembly-CSharp-firstpass.dll) Version: 0.0.0.0
Syntax
C#
protected void ApplyCenterOfMassParameter(
	PhysicalBody body,
	TetrapodCharacterizationTemplateBodyPartSettings bodySettings
)

Parameters

body
Type: Candlelight.PhysicsPhysicalBody
A PhysicalBody.
bodySettings
Type: Candlelight.PhysicsTetrapodCharacterizationTemplateBodyPartSettings
The settings for the specified PhysicalBody.
See Also