ApplyEntityTorque()
Syntax
ApplyEntityTorque(#Entity, x, y, z [, Mode])Description
Apply a rotation force to the entity. The new rotation force replace any previous force previously applied to the entity.
Parameters
#Entity The entity to use. x, y, z The rotation force values. Mode (optional) The applied rotation force mode. It can be one of the following values: #PB_Local : local rotation force. #PB_Parent: rotation force relative to the parent position. #PB_World : rotation force relative to the world.
Return value
None.
See Also
ApplyEntityImpulse(), ApplyEntityForce(), ApplyEntityTorqueImpulse()
Supported OS
All