Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Question Need help with the camera moving out of the player when I walk with Oculus headset?

Discussion in 'VR' started by UnityQueries, Nov 17, 2021.

  1. UnityQueries

    UnityQueries

    Joined:
    Jul 6, 2021
    Posts:
    9
    Hi All, I have OVRPlayerController prefab in my scene. When I walk (Front, Back, Left, Right) with Oculus headset the camera is moving but the player holds the same position.

    I want the Player(Character Controller) and the Camera to move together.

    I have added the CharacterCameraConstraint script to my OVRPlayerController but still, I am getting the same problem.

    Can anyone help me to resolve the problem?

    Thanks in advance.
     
  2. eovento

    eovento

    Joined:
    Feb 22, 2018
    Posts:
    38
    Did you find the solution for this? It has been an issue for me for two whole years. Thanks anyone in advance.
     
  3. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    4,393
    Make a system where all the player logic is on the camera instead of a parent gameobject