 | TetrapodCharacterizationTemplateApplyShapeSizesAndCentersAsNonHumanoid Method |
Applies the shape sizes and centers to the supplied tetrapod, assuming it is non-humanoid.
Namespace: Candlelight.PhysicsAssembly: Assembly-CSharp-firstpass (in Assembly-CSharp-firstpass.dll) Version: 0.0.0.0
Syntaxprotected void ApplyShapeSizesAndCentersAsNonHumanoid(
TetrapodRagdoll tetrapod,
float diameter = 0.4f,
float overlapScale = 1.1f
)
Parameters
- tetrapod
- Type: Candlelight.PhysicsTetrapodRagdoll
A TetrapodRagdoll that is fully connected and symmetry mapped. - diameter (Optional)
- Type: SystemSingle
The limb diameter in proportion to limb length. - overlapScale (Optional)
- Type: SystemSingle
The amount to scale each collider size to generate a small amount of overlap.
See Also