Click or drag to resize
TetrapodCharacterizationTemplateTryAssignMass Method
Tries to assign mass to the specified part. If not possible, redistribute mass to all non-null bodies in the supplied list.

Namespace: Candlelight.Physics
Assembly: Assembly-CSharp-firstpass (in Assembly-CSharp-firstpass.dll) Version: 0.0.0.0
Syntax
C#
protected bool TryAssignMass(
	RagdollPart part,
	float mass,
	List<RagdollPart> allParts
)

Parameters

part
Type: Candlelight.PhysicsRagdollPart
Part.
mass
Type: SystemSingle
Mass.
allParts
Type: System.Collections.GenericListRagdollPart
All the parts in the hierarchy.

Return Value

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