Forum Discussion
Anonymous
6 years agoHow do I get my OVRCameraRig to shoot the physics raycaster?
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
Replies have been turned off for this discussion
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 10 months ago