Hi, I'm working with RealityKit and Reality Composer. When I build a scene in Reality Composer, place the experience in Xcode and try the app out, the 3D models appears fine. When I place my hand over it, it doesn't recognise that my hand is in front of it and shows through. When place an object in front of it, it also doesn't recognise whether it is in front or behind the object. How do I fix this?
How do I prevent 3D models from glitching out in AR app
Hi! what iOS device are you using? Object occlusion requires a LiDAR Scanner, see https://developer.apple.com/augmented-reality/realitykit/ under Object Occlusion at the bottom of the page.
When I place my hand over it, it doesn't recognise that my hand is in front of it and shows through.
For hands to occlude virtual objects you need to turn on .personSegmentationWithDepth: https://developer.apple.com/documentation/arkit/arconfiguration/framesemantics/3194576-personsegmentationwithdepth