🚀How to create your own prefabs
Last updated
Last updated
Creating prefab is very simple. All that need from your side is 3D assets. Let's discuss how to create AR objects.
Find Assets -> ARealityPlacer -> Meshes folder. Drag and drop your 3D assets into that folder.
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.
Drag and drop your 3D asset inside newly created empty game object (Car)
Select Parent empty game object and add box collider component into it. Set collider size as same as car size.
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.