ApplyEntityForce()

Syntax

ApplyEntityForce(#Entity, x, y, z [, PositionX, PositionY, PositionZ])
Description
Apply the specified force to the entity. The new force value replace any previous force previously applied to the entity.

Parameters

#Entity The entity to use.
x, y, z The force values.
PositionX, PositionY, PositionZ (optional) The position relative to the entity center where the force should be applied.

Return value

None.

See Also

ApplyEntityImpulse(), ApplyEntityTorque(), ApplyEntityTorqueImpulse()

Supported OS

All

Entity Index - ApplyEntityImpulse() ->