• Set the angular velocity of the rigidbody attached on the game object.

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

    **2D Mode Special: **In 2D mode there is no angular velocity on X nor Y axis, so the X and Y values in the Vector3 is ignored.

    Parameters

    • gameObjectIdentifier: GameObjectIdentifier

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

    • angularVelocity: Vector3

      The new angular velocity for the rigidbody attached on the GameObject.

    Returns void

Generated using TypeDoc