Reputation: 997
I'm extremely new to Unity and Oculus, and I'm attempting to follow this guide on how to enable a controller laser pointer to select a 3D object in Unity.
This is my current attempt:
My main problem currently is that I am unable to locate the last three assets, even though I am using the latest Oculus Integration package. As well, I get the following error (which may or may not be a result of the missing assets):
NullReferenceException: UnityEngine.EventSystems.OVRInputModule.GetGazePointerData
Upvotes: 0
Views: 688
Reputation: 44
I solved this by ray casting forward from controller object - laser and on ray cast hit just do whatever you want with your object, your can also make the same layer what to ray cast trough or to ignore the ones that you don't want to ray cast...
Upvotes: 0