EnhancedTouch only works for 'Default' layer

EnhancedSpatialPointerSupport.GetPointerState doesn’t seem to be registering for touches on colliders on other layers besides ‘Default’. Is there something I need to do for this to work on other layers also?

I’m having the same issue! I desperately need to register touch events from a collider that I have on a certain layer, specifically so it won’t collide with other things on the same layer

I think this is an easy to overlook setting with how we manage colliders in PolySpatial.

Input requires colliders, the default settings in the PolySpatial Settings > Collider Object Layer Mask is set to just the default layer. If you put an object on a different layer it’s collider will not be sent over to RealityKit and thus can’t accept input. Try adding the additional layer to that layer mask.

3 Likes