Hi .... Its my code to navigate in VR mode(C#)
transform.position = transform.position + Camera.main.transform.forward * 1f * Time.deltaTime;
When i play, The camera goes forward but i cant control it with the keyboard and how to move this to the left and right position?!!!! Please help me?!!!
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
The best place to ask and answer questions about development with Unity.
To help users navigate the site we have posted a site navigation guide.
If you are a new user to Unity Answers, check out our FAQ for more information.
Make sure to check out our Knowledge Base for commonly asked Unity questions.
If you are a moderator, see our Moderator Guidelines page.
We are making improvements to UA, see the list of changes.
Answers and Comments
393 People are following this question.
how to make forward relative to the view of the camera
Unity 5 - My raycast is hitting my player, and I can't figure out why
How to change camera on Android?
Unity 5 AntiAliasing bug
How to access camera Dont Clear in camera clear flags using c#