Introduction: Augmented Reality Police Car
You will follow these 29 steps to making your own AR scene/ image.
-These steps can be applied towards any image, scene, or "floating object".
-100% free and fun.
Step 1: Download Unity
Download Unity from the https://unity3d.com website.
-Go to "Get Unity Now"
And proceed with instructions
Step 2: Download Vuforia
Download The Vuforia SDK File from https://developer.vuforia.com/downloads/sdk
-Click on "Download for Unity"
-Create an Account
-Drag the Vuforia file onto your desktop
Step 3: Start Your Project
Open up Unity.
-Open New Unity Project
Step 4: Delete the Main Camera
-When you get into the project; delete the Main Camera
Step 5: Import Vuforia
Drag in the Vuforia Package
Step 6: New Camera
-click the Assets folder
-click the Vuforia folder
-drag the AR camera to the top left side of the screen (where the main camera once was)
Step 7: Develop
Go to your web browser and go to the Vuforia Developer Portal
-Click Dev Portal
Step 8: License Key
At the "develop" tab you have to create a license key
-Click add license key
-Copy text from the box
Step 9: Go Back to Unity
Go back to Unity
Step 10: Device Tracking
-change "world center mode" to Device Tracking
Step 11: Apply License Key
-Click "Open Vuforia Configuration"
-Paste text where it says "App License Key"
Step 12: Find Image
Do you know the image you want to use as your AR surface?
-If you don't, find it.
Step 13: Download Your Image to Vuforia
Go back to your Developer portal
-click "Target Manager"
-Click and make your image target (my target was called Police)
-Add target (you will now upload the image target or image surface that you'd like to use)
For width you can put virtually any number, I always put 5.
Step 14: Select Target
-select "Unity Editor" as your development platform
Step 15: Drag Your Package Into Unity
Drag your (file) unity package into unity
To do that you will:
-click on your assets folder
-drag the package in
Step 16: Datasets
Go to "Datasets"
-click "load image file"
Step 17: Back to Vuforia Folder
(bottom left side) Go back to Vuforia
Step 18: Image Target
Select the blue "Image Target" cube
-drag the cube ONTO the AR camera so it becomes a child (on the top left side)
Step 19: Image Target Behaviour
Go to: Image Target Behaviour (on the right side)
-go to database
-click targets and sure that's your file
Step 20: Assets
(left side) Go to assets
-click Image Target Textures
-(your) Image_Target (mine was named police)
Step 21: Click on Your File
Click on your file
-change "Texture Type": from Channel to Default
-change "Texture Shape": from Cube to 2D
Step 22: Apply Image Target
(top right side)
-go to Image Target, press it
-a window should pop up. Press: Apply
Step 23: Get Object From Asset Store
Once your image loads, go to the Asset store.
-search for an object you want to have in your scene
-Once it downloads, press: Import
Step 24: Find Folder
Find the new folder where you object is
(I downloaded a police car, so mine says "police car")
Step 25: Models
Click the new folder where your object is.
-Go to "models"
Step 26: Go Back to the Main Scene
Bring your screen back to "scene" from the "asset store" window.
Step 27: Position Your Object
Drag and drop your new object onto the screen
-use the blue, red, and green arrows to position your object
Step 28: Activate Your Image
Once everything is positioned and scale:
-press the left arrow on the top of your screen to play and activate your image
Step 29: Time to Play
Now, have fun :)
We have a be nice policy.
Please be positive and constructive.