ApplyEntityImpulse()

Syntax

ApplyEntityImpulse(#Entity, x, y, z [, PositionX, PositionY, PositionZ [, Mode]])
Description
Apply an impulse to the entity. The new impulse is added to the current force of the entity.

Parameters

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

Return value

None.

See Also

ApplyEntityForce(), ApplyEntityTorque(), ApplyEntityTorqueImpulse()

Supported OS

All

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