crashcat docs
    Preparing search index...

    Function addAngularImpulse

    • Applies an angular impulse (instant change to angular velocity). Δω = I⁻¹ × impulse Only affects dynamic bodies. Always wakes the body.

      Parameters

      • world: World

        the physics world

      • body: RigidBody

        the body to apply angular impulse to

      • impulse: Vec3

        angular impulse vector in world space (kg·m²/s)

      Returns void