Source Academy Modules
    Preparing search index...

    Function apply_rigidbody

    • Apply rigidbody (2D or 3D based on the current dimension mode) to the given GameObject to use Unity's physics engine.

      All other functions under the Physics - Rigidbody category require calling this function first on the applied GameObjects.

      For more information, see

      Parameters

      • gameObjectIdentifier: GameObjectIdentifier

        The identifier for the GameObject that you want to apply rigidbody on.

      Returns void