How to disable hands collision in PolySpatial while keeping pointer interactions?

Hello,

I’m using PolySpatial and XR Interaction Toolkit in an unbounded volume to move an object. The app mode is RealityKit with PolySpatial.

The target object has an XR Grab Interactable as well as a VisionOS Hover Effect component on it.
Looking at the object, pinching the fingers and moving the hand moves the object as expected. I call this “look and pinch movement”.

The problem is, that I can’t find a way to disable hand collisions with the target object without breaking the “look and pinch movement”. Sometimes I move my hand through the object and accidentally slap it into oblivion.

I’ve based this of the PolySpatial Template, but there are no hand prefabs in the scene anymore and none are being instantiated at runtime.

What I’ve tried in the built app (Play to device as well, but I don’t trust the results there):

  • Setting XR Plug-in Management > Apple visionOS > Initialize Hand Tracking On Startup to false, but that doesn’t change anything.
  • Disabled hand collisions by setting the object on a layer that isn’t in PolySpatial > Collider Objects Layer Mask. But then the “look and pinch movement” is broken as well.

Is it possible to disable hand collisions without breaking the look and pinch movement?

Thanks

1 Like