ARKit hide objects behind walls
How can I use the horizontal and vertical planes tracked by ARKit to hide objects behind walls/ behind real objects? Currently the 3D added objects can be seen through walls when you leave a room and/ or in front of objects that they should be behind. So is it possible to use the data ARKit gives me to provide a more natural AR experience without the objects appearing through walls? You have two issues here. (And you didn't even use regular expressions !) How to create occlusion geometry for ARKit/SceneKit? If you set a SceneKit material's colorBufferWriteMask to an empty value ( [] in Swift),