Adding objects

We now can add the drone to the project:

  1. Import the SimpleDrone package using Assets | Import Package | Custom Package.
  2. Drag the SimpleDrone prefab into the Hierarchy, and make it a child of ImageTarget.
  3. Select the drone and set the scene gizmo to Scale, or enter the Transform Scale to (0.1, 0.1, 0.0) and move it to resting on the card (Position Y = 0.06).

You should also add the animations to make the drone fly. We won't repeat the details here, please refer to the previous section.

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.