Jump to content

Bodies

The body class provides a mechanism to simulate physically interactive rigid bodies. Bodies can be created from scratch or loaded from a serialized .phy physics shape file created with the phygen tool. Static collision trees are automatically generated for models that don't have a corresponding .phy file.

Commands

AddBodyForce
AddBodyForceAtPoint
AddBodyTorque
CalcBodyOmega
CalcBodyVelocity
CreateBodyBox
CreateBodyCylinder
CreateBodyHull
CreateBodySphere
CreateBodyTree
GetBodyMass
GetBodyOmega
GetBodyVelocity
LoadBody
SetBodyDamping
SetBodyElasticity
SetBodyForce
SetBodyFriction
SetBodyGravityMode
SetBodyMass
SetBodyMassCenter
SetBodyOmega
SetBodySoftness
SetBodyTorque
SweptCollision
  • You cannot add records