I use ARKit's hand tracking to attach a 3D model of a remote control to the left hand. The user is supposed to press buttons on the remote control. In the Vision Pro settings, I have removed the left hand from Hands & Eye Tracking. Only the right hand is used. The problem now is that the left hand appears and the 3D model of the remote control fades out. I want the remote control to be completely visible. The user should feel like they really have the remote control in their hand. Can I prevent the fading out?
ARKit / visionOS - handtracking with 3D objects attached on hand
Hi @Stefko
There are two modifiers you should consider. You will need to apply both modifiers to your app's ImmersiveSpace, which will change the behavior for the entire scene.
For hand occlusion:
upperLimbVisibility(_:) - Pass .hidden to this modifier to disable hand occlusion.
For the Home indicator:
persistentSystemOverlays(_:) - Pass .hidden to this modifier to prevent the Home indicator from appearing unless the user specifically intends to access it.