How To Implement Unity 'XR Simple Interactable' Correctly

Viewed 1226

Documentation for Simple Interactable

Documentation for Grab Interactable

XR Grab Interactable Example

I've been developing an application for the Oculus Quest in Unity. Due to the Quest's limited hardware, I am trying to minimize the processing required in my application. Fr obvious reasons, this makes XRSimpleInteractable very appealing to attach to a collider where all I want to do is action the player's controller is selecting the object, rather than XRGrabInteractable which also computes a rigid-body that can be rotated and repositioned.

However, whenever SimpleInteractable is attached to a GameObject, placing the GameObjects collision box into the colliders array of the XRSimpleInteractable and moving the controller into the collision box does not activate the previosuly set onSelectEntered script.

With XRGrabInteractables attached onSelectEntered script however, it does, using the same script reference.

Can someone explain how to correctly use XRSimpleInteractable ?

0 Answers
Related