Adding objects

We now can add the drone to the project. First import the model into the project:

  1. Import the SimpleDrone package using Assets | Import Package | Custom Package....
  2. Now we add the drone into the scene. Make it a child of the PurpleFinch Target target object.
  3. Drag the SimpleDrone prefab into the Hierarchy, and make it a child of PurpleFinch Target.
  4. Select the drone and set the scene gizmo to Scale, or enter the Transform Scale to (0.001, 0.001, 0.001) and move it resting on the center of the card, Position (0.01, 0.005, 0).

Scaling in ARToolkit is a bit different than Vuforia. In Vuforia we could set the target size in real-world units, thus the business card is scaled to 0.09.

By default, ARToolkit assumes the target is vertical, ...

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.