crashcat docs
    Preparing search index...

    Function setAngularVelocity

    • Sets the angular velocity of the body. Always wakes the body.

      Parameters

      • world: World

        the physics world

      • body: RigidBody

        the body to set angular velocity on

      • velocity: Vec3

        new angular velocity vector in world space (rad/s)

      Returns void