🚀How to create your own prefabs
Creating prefab is very simple. All that need from your side is 3D assets. Let's discuss how to create AR objects.
Step 1 : Add 3D assets to meshes folder
Find Assets -> ARealityPlacer -> Meshes folder. Drag and drop your 3D assets into that folder.

Step 2 : Create Prefab Parent
Go to hierarchy window, right click on empty space select Create Empty.

Change it name as your AR object name, In my Case "Car" and reset position, rotation, scale to 0,0,0.

Step 3 : place 3D asset inside empty game object
Drag and drop your 3D asset inside newly created empty game object (Car)

Step 4 : Add box collider to parent object
Select Parent empty game object and add box collider component into it. Set collider size as same as car size.

Step 5 : Create Prefab
Last step is create prefab using parent game object (Car). For that drag and drop your Parent game object into Prefabs folder. Then Delete newly created prefab from hierarchy window by delete it.

Thats all! 👍 Next section is discussed how to add your prefab into AR asset menu.
Last updated