Function RigidBody.applyImpulse

Applies a positioned impulse to the body. An impulse is time independent! Applying an impulse every frame would result in a framerate-dependent force. For this reason it should only be used when simulating one-time impacts. The position uses the rotation of the global coordinate system, but is centered at the object's origin.

void applyImpulse (
  const(Vector3) position,
  const(Vector3) impulse
) nothrow @nogc;