Search Unity

ImageTraking Scale

Discussion in 'AR' started by xAvatarchikx, Dec 6, 2019.

  1. xAvatarchikx

    xAvatarchikx

    Joined:
    Aug 17, 2012
    Posts:
    69
    HiHow can I scale plane to the full marker?

    trackedImage.transform.localScale = new Vector3(trackedImage.size.x, 1f, trackedImage.size.y);
    I tried this way but the size does not match the marker.
    Pixel Marker:1049x767
    Physical Size: 0.37x0.27
    ArFoundation 3.0.1
    Unity 2019.3.0f1
    URP Render
     
    Last edited: Dec 6, 2019