Scale adjustments

You may expect to adjust the scale of ThrowingGame relative to the ImageTarget. But if it's too small (for example, hundredths of a meter) that can affect Unity physics calculations in undesirable ways. So instead, we will adjust the ImageTarget scale too. We found that an ImageTarget scale = 3.0 works well in this project. Modify the object transforms as follows:

  1. Select the ImageTarget and set its Scale: (3, 3, 3).
  2. Select ThrowingGame and select the scale gizmo in the Scene window, then resize it so it fits the way you want relative to the image target, we used Scale: (0.06, 0.06, 0.06).

You may also decide to elevate the game court slightly above the image target plane (Position Y) so the texture does not bleed through ...

Get Augmented Reality for Developers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.