• Set the mass 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.

    Parameters

    • gameObjectIdentifier: GameObjectIdentifier

      The identifier for the GameObject that you want to change mass for.

    • mass: number

      The value for the new mass.

    Returns void

Generated using TypeDoc