• Copy the rotation values (Euler angles) 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 rotation 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 rotation from.

    • to: GameObjectIdentifier

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

    • deltaRotation: Vector3

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

    Returns void

Generated using TypeDoc