How do I make my raycast look up and down?
Hi. Im trying to post it in here as well.
I have made a raycast with a linerenderer that shoots from the OVRCameraRig, and it works fine and shoots straight when I look around, but when I try to look up and down it doesnt follow the motion of my headset? I need to be able to look down and grab objects on the ground, but the line cant go downwards? I tried to add .rotation to my script (but .rotation is not in the red box in the script pictures, old picture) but that didnt work? Can somebody help me here? :)
I have tried for a long long time to make a laser that works, and now I have almost succeeded :) this would be the final thing, to get the laser to look down and grab objects.
Your answer
Follow this Question
Related Questions
LineRenderer doesn't go to Hit.Point 1 Answer
In Gear VR, is it possible to start the game without VR, and turn VR on via script? 1 Answer
post processing V2 in Unity 2018 AO effect is not being processed in game view 0 Answers
Play mode not working on Oculus 0 Answers
Using Zed Camera Mesh Maker VR 0 Answers