crashcat docs
    Preparing search index...

    Function addLinearVelocity

    • Adds to the linear velocity of the body. Always wakes the body.

      Parameters

      • world: World

        the physics world

      • body: RigidBody

        the body to modify

      • velocityDelta: Vec3

        velocity change to add in world space (m/s)

      Returns void