Source Academy Modules
    Preparing search index...

    Function copy_scale

    • Copy the scale values from one GameObject to another GameObject along with delta values.

      Set one or more coordinate value(s) in the deltaPosition Vector3 to the exact value "999999" (six nines) to remain the scale of the destination GameObject on the corresponding axis/axes unaffected by this function.

      Parameters

      • from: GameObjectIdentifier

        The identifier for the GameObject that you want to copy scale from.

      • to: GameObjectIdentifier

        The identifier for the GameObject that you want to copy scale to.

      • deltaScale: Vector3

        This value will be added to the copied value when copying the scale value to the destination GameObject.

      Returns void