Click or drag to resize
TetrapodCharacterizationTemplateApplyDefaultShapeSizesAndCenters Method
Apply shape sizes and centers to all parts assuming they are long limbs.

Namespace: Candlelight.Physics
Assembly: Assembly-CSharp-firstpass (in Assembly-CSharp-firstpass.dll) Version: 0.0.0.0
Syntax
C#
protected void ApplyDefaultShapeSizesAndCenters(
	TetrapodRagdoll tetrapod,
	Bounds tetrapodBounds,
	float diameter,
	float overlapScale
)

Parameters

tetrapod
Type: Candlelight.PhysicsTetrapodRagdoll
A TetrapodRagdoll that is fully connected and symmetry mapped.
tetrapodBounds
Type: Bounds
Tetrapod bounds.
diameter
Type: SystemSingle
The limb diameter in proportion to limb length.
overlapScale
Type: SystemSingle
The amount to scale each collider size to generate a small amount of overlap.
See Also