Source Academy Modules
    Preparing search index...

    Function gameobject_distance

    • Calcuate the distance between two GameObjects, based on each other's position

      Parameters

      • gameObjectIdentifier_A: GameObjectIdentifier

        The identifier for the first GameObject

      • gameObjectIdentifier_B: GameObjectIdentifier

        The identifier for the second GameObject

      Returns number

      The value of the distance between these two GameObjects