Source Academy Modules
    Preparing search index...

    Function set_angular_drag

    • Set the angular drag (similar to an air resistance that affects angular velocity) the rigidbody attached on the game object.

      By default the angular drag is 0.05

      Usage of all physics functions under the Physics - Rigidbody category requires calling apply_rigidbody first on the applied game objects.

      Parameters

      • gameObjectIdentifier: GameObjectIdentifier

        The identifier for the GameObject that you want to change angular drag for.

      • value: number

        The value of the new angular drag.

      Returns void