How do I move forward & raycast based on the MainCamera direction (in UFPS)
Hello, I'm having trouble editing the UFPS Scripts to work with Google VR. I have the "Advanced Player" with a "GvrViewerMain" attached to the MainCamera. Everything works fine, except, when I use "Alt" to "simulate head movement", the Player does not move forward or Raycast in the direction of the Camera.
How do I "Move Forward" & "Raycast" from the center of the Main Camera with the "UFPS Advanced Player"?
I've been stuck on this for weeks! Some insight would be awesome! Thanks.
Your answer
![](https://koobas.hobune.stream/wayback/20220612093342im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Is it possible to implement a double press/click magent button functionality for Google Cardboard? 0 Answers
Google Carboard Compiler Error On Load 3 Answers
GvrRectile not responding 1 Answer
Pickup Objects with Google Daydream Controller 1 Answer
Rotation of object in Z axis based on direction the rotation of the camera 0 Answers