Vertical place detection in ARKit is not very good so I am using proximity sensor to place found vertical plane. The UX is as follows:
- Ask user to place front of the device on the wall
- When the proximity sensor is triggered make a vertical plane using AR Camera transform
The issue that I am currently facing is that when front sensor is triggered, everything comes to a halt. All the CoreMotion sensors and render methods for ARSCNViewDelegate calls stop. This causes the world origin to move from its origin point and make the placed item also move with it.
Is there a way to get proximity sensor data without shutting down everything? Is there a better way to place vertical items?