I've begun experimenting with ARKit, and I have ran into an issue. I can't find a tutorial which shows how to place an object on the nearest surface.
Let's say I am using a .scn
file that contains a flat object. I know how to place that where the camera is, but how would I get the distance to the nearest surface.
Sorry if this sounds like a code-request, but I am not sure where to start, any guidance would be much appreciated