-
Notifications
You must be signed in to change notification settings - Fork 0
Interactions & Controls
Ad edited this page Jul 20, 2022
·
4 revisions
There are several parts to how the interactions work. There is a combination of Unity's XR Interactions package and our custom implementation. Custom implementation scripts will have the Oca* prefix.
The important parts are XRRayInteractor (Unity's XR Interactions package) and the OcaRayInteractor.
The former handles UI interactions and the latter deals with physical interactions.
The OcaRayInteractor script will pickup any GameObject that has the Interactable tag attached to it.
See Controller HUD if you need your GameObject to expose in-game editable parameters.