ApplyEntityTorqueImpulse()

Syntax

ApplyEntityTorqueImpulse(#Entity, x, y, z [, Mode])
Description
Apply a rotation impulse to the entity. The new impulse is added to the rotation force previously applied to the entity.

Parameters

#Entity The entity to use.
x, y, z The rotation impulse values.
Mode (optional) The applied rotation impulse mode. It can be one of the following values:
  #PB_Local : local rotation impulse.
  #PB_Parent: rotation impulse relative to the parent position.
  #PB_World : rotation impulse relative to the world.

Return value

None.

See Also

ApplyEntityImpulse(), ApplyEntityForce(), ApplyEntityTorque()

Supported OS

All

<- ApplyEntityTorque() - Entity Index - AttachEntityObject() ->