![]() |
• Physics Manager | ||
|
API Links
Developer Links
|
RigidBodyController::SetExternalTorqueDefined in:
Sets the external torque acting on a rigid body.
C4Physics.hPrototype
Parameters
Description
The SetExternalTorque function sets the external torque, in world-space coordinates, acting on a rigid body about its center of mass to the torque specified by the torque parameter. The torque is measured in kilonewtons times meters (kN·m).Once an external torque is established, it is applied continuously until it is removed. The RigidBodyController::ApplyImpulse function can be used to exert a one-time instantaneous torque on a rigid body.The initial value of the external torque is (0,0,0). See Also
|