Adding an Idle animation

Our objective is to make the drone take off, fly around, and then land. And repeat. This will entail two animation clips.

To simplify our explanation let's first put the SimpleDrone into a parent FlyingDrone object and animate that:

  1. In the Hierarchy, create an Empty Object under ImageTarget and rename it FlyingDrone.
  2. Move the SimpleDrone to be a child of FlyingDrone.
  3. With FlyingDrone selected, Add Component Animator.

Now we can begin creating the first Animation clip for the drone representing its resting state.

  1. Open the Animation tab (add it if needed via Window | Animation). It will be empty, and will helpfully say To begin animating FlyingDrone, create an Animation Clip.
In this step, we're using the Animation ...

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.