I have made this script with a little inspiration from another. I am trying to make a graphic raycaster from the OVRCameraRig, so the ray comes from the VR headset in Unity.
How can I do that? Please bear with me, I am not a pro at programming
I got it working now with my code Howerver the βlaserβ can only go from side to side? I cant make it follow when I look up and down? I need the laser to point downwards when I look down so I can pick up objects.
I think I need a forward or something somewhere around here:
But when I add a forward any of the places I think of, its gives me an error with Vector3??