Is there a session that explains how to use ARKit in visionOS to detect the floor and place things on it?

Asked on 08/27/2024

1 search

Yes, there is a session that explains how to use ARKit in visionOS to detect the floor and place things on it. The session titled "Create enhanced spatial computing experiences with ARKit" covers updates to plane detection, which includes detecting horizontal surfaces like floors. This session explains how plane detection data is delivered in the form of plane anchors, which hold information about surfaces detected in the real world. You can find more details in the chapter on Plane detection.

Additionally, the session "Dive deep into volumes and immersive spaces" discusses placing objects relative to a floor anchor using the new spatial tracking session API in RealityKit. This is covered in the section on Immersive spaces: Anchored UI interactions.