03-23-2023 10:50 AM
Hi All,
I've gone through all the posts, and am trying to figure out if there is a built in pointer class similar to OVRGazePointer.
I am able to get gaze pointer to work. I am also able to move OVRGazePointer references to a RHand controller, and use GazeIcon on a single hand.
However, this does not facilitate switching to left hand.
When using PrefabRuntimeController, and on OVRManager setting RenderModelSupport to Enabled, the controllers appear. I already have an OVRPointerVisualizer so the line is rendered for user with controllers. The problem is when looking at the GazePointer example, the event system is assigned a SINGLE cursor for the gaze icon. I suppose I can write a simple script on L/R triggers to switch the cursor from left to right hand, but I can't imagine this is not built into the SDK to be handled already, as I have seen other apps and both controller's have a GazeIcon (like Oculus Login / Home).
I would like to avoid 3rd party assets, and am hoping somebody has figured out how to make a controller trigger mouse/pointer events which is already built like OVRManager > OVRInputModule > OVRGazePointer.
I was hoping it would be OVRManager > OVRInputModule > OVRRuntimeController
But all that does is enable a visual.
Same with OVRManager > OVRInputModule > OVRRuntimeController
Even with OVRPointerVisualizer ( which seems to just draw the line) it does not trigger pointer/touch events
Any assistance would be greatly appreciated.
-Ebones
03-23-2023 04:32 PM - edited 03-23-2023 05:07 PM
For anyone that wants to try using the OVRGazePointer on controllers...you can easily flip it from hand to hand.