O'Reilly logo

Developing AR Games for iOS and Android by Dominic Cushnan, Hassan EL Habbak

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

The Whack-A-Mole model

Now that we have the ground to build on, it is time to add our mole model to the project. Simply create a folder in the Assets folder, and name it Models. Drag-and-drop the file from the chapter assets named WhackAMoleModel.fbx. Unity will automatically import the model into the project and will create a prefab for us.

  1. Like we have done before, drag-and-drop the prefab created for WhackAMoleModel into our scene. You might not automatically see where the model was added; this is mainly because the model is too small in comparison to the ground plane. If you focus on the model by holding the F key, you will see how small the model is.

    Tip

    To change that, we can scale the model using the same way we did before, which is to scale ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required