RigidBody.applyImpulse

Applies a positioned impulse which will be affected by the body mass and shape. This is the equivalent of hitting a billiard ball with a cue: a force that is applied once, and only once. Both the impulse and the position are in global coordinates, and the position is relative to the object's origin.

struct RigidBody
@nogc nothrow
void
applyImpulse
(
in Vector3 position
,
in Vector3 impulse
)

Meta