Make your own AR app| With Unity3D and Vuforia

AR enhances your reality experience by adding virtual elements to it

Let me explain to you how AR i.e. Augmented Reality works. As clear from the name this technology augments something to reality. If you’ve played or seen Pokémon go you may have noticed that the Pokémons are on a virtual layer over the real world working as a background. So to put something on that virtual layer on your mobile screen the software needs to have the exact coordinates to put up let’s say Pikachu! To reference those coordinates we need some sort of marker or indicator. It can be anything. See the video I am using a colorful abstract image as a marker. Once the camera picks up the image, it’s all up to the software to process the image and put up Pikachu on it (though the actual working of Pokemon Go is way more complicated so please don’t kill me for this explanation). And Voila! There you go! You’ve successfully augmented Pikachu to real world.


These are the screenshots of my app when I used it on my mobile phone. The colored image in the background is the marker. When I open the app and point the camera towards the image a 3D model of Christmas Tree pops up. You can download my app by clicking here.

Enough of the talking let’s get down to business, here is the simple instruction list that you need to follow to make your first AR app. Plunge right into it and if you have any problem don’t hesitate to contact me. Though I would suggest you to have a little patience, I’m sure that you’ll learn a lot!

1. Install Unity3D: Follow the instructions given on the official Unity page by clicking here. Open a new project, make sure it of type 3D.

2. Set up the Android SDK software:

3. Now install the Java SE Development Kit: If you don’t have it then you’ll get this prompt box.


Go to by clicking here. Download Java Platform (JDK) 8u121, Accept the License Agreement and then download Windows x64 version.


4. Download the Vuforia package:

This blog perfectly explains the way to install the Vuforia package. Click here to read it.

5. To add an animated object onto the virtual layer follow this tutorial:

Add simple animations to your 3D model to bring the augmented scene to life. If you have trouble in adding animation just add this bit of code your Vb Script attached with ImageTarget

using UnityEngine;
using System.Collections;

public class vbScript : MonoBehaviour {

private GameObject myObject;

void start (){

myObject = GameObject.Find(“myObject”);

/*Give your object a name of string “myObject” */


void update (){




Now you are ready to compile the entire scene and scripts into a single .apk file from build settings. Open the app on your android phone and point the camera towards the marker image and voila! you are an AR expert now.

Happy Augmenting!



Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s