One thing that I’m confused by when instantiating prefab objects.
Is it necessary to use a Raycast and plane detection in order to be able to instantiate a prefab object?
or can you simply instantiate at known world space coordinates and parent to your session origin?
Usually you use your RaycastManager and you test against the planes that were generated by the ARPlaneManager and if there’s a match then you instantiate at that position. You also need to instantiate under the AR Session origin to make sure it lives in the AR “world” space.
You don’t have to use the raycast though, as long as it is under the origin it will live in the AR space
1 Like