BaseItem.physics.apply_impulse method

apply_impulse(self, origin: Vector3, impulse: Vector3) -> None:

Pushes this item with the defined impulse for this frame.

Parameters

  • origin: Vector3

    origin of the impulse in world space.

  • impulse: Vector3

    direction & force of the impulse.