A
Anonymous
October 29, 2019
How do I get my OVRCameraRig to shoot the physics raycaster?
- 0 replies
- 869 views
Hi Forum
I am developing a physics raycaster from my OVRCameraRig i Unity. I have made a script, and if I change the camera to Camera.main the code runs but nothing happens. I want it to shoot the ray from the OVRCameraRig in the OVRPlayerController, so its visible in VR.
Maybe its just a small thing I have to do to make it shoot from the camerarig, but I dont know how to? Can anyone help me?
I am not a pro at coding, so please bear with me :) I hope I post it in the right forum
I am developing a physics raycaster from my OVRCameraRig i Unity. I have made a script, and if I change the camera to Camera.main the code runs but nothing happens. I want it to shoot the ray from the OVRCameraRig in the OVRPlayerController, so its visible in VR.
Maybe its just a small thing I have to do to make it shoot from the camerarig, but I dont know how to? Can anyone help me?
I am not a pro at coding, so please bear with me :) I hope I post it in the right forum
