• Set whether the rigidbody attached on the game object should calculate for gravity.

    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 enable/disable gravity on its rigidbody.

    • useGravity: boolean

    Returns void

Generated using TypeDoc