Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
simonB12's avatar
simonB12
Honored Guest
6 years ago

Unity, OVR hand pointer laser beam issue

Hi, I have an issue with the laser pointer setup (line renderer).  Its pointing by default to world 0,0,0. Only by using the secondary hand trigger, the beam is pointig forward. I dont know if its supposed to be like this, but I want it always pointing forward (Z).

my setup (Oculus Integration 17.0):
- OVRCameraRig (with OVR Physics Raycaster)
- parented "CustomHandLeft" and "CustomHandRight" prefabs under the Left- and RightHandAnchor
- UI Helpers prefab. In OVR Input Module I defined "RightHandAnchor" as RayTransform
- my Canvas has OVR Raycaster with "RightHandAnchor" defined as pointer

I cant find out why the "secondary hand trigger" should change the pointer direction, also I dont know where this behaviour is defined. I supposed the "LaserPointer" is script doing this by defining the 2 positions of the line renderer...



No RepliesBe the first to reply