Skip to main content
New Participant
November 8, 2021
Solved

OVRPlayerController does not move with OVRCameraPrefab in Unity

  • November 8, 2021
  • 6 replies
  • 7494 views

Hello,

 

I am using Unity 2020 and Oculus Unity Integration SDK 33.

 

I cannot get the OVRPlayerController to move with the OVRCamera prefab. I would like to know if this is even  a possibility any more - the CharacterCameraConstraint script has been changed significantly. I have tried setting up the CharacterCameraConstraint, the SimpleCapsuleMovement, CapsuleCollider and RigidBody onto the OVRPlayerController and it still does not work. In the locomotion example scene the OVRPlayerController also does not follow the camera.

 

I could not find any documentation for how room based locomotion is supposed to work. I know this worked fine with previous Oculus integrations. Has this feature been removed on purpose? If yes why?

 

Kind regards,

LordSlimeball

Best answer by Lordslimeball

Well I could not get it to work, so if anyone else is having this problem you need to remove OVRPlayerController script (and the script which is dependent on it, can't remember the name right now). Then add another object the position of which is updated to be the same as the position of the CenterEyeAnchor

6 replies

LordslimeballAuthorAnswer
New Participant
November 26, 2021

Well I could not get it to work, so if anyone else is having this problem you need to remove OVRPlayerController script (and the script which is dependent on it, can't remember the name right now). Then add another object the position of which is updated to be the same as the position of the CenterEyeAnchor

New Participant
December 17, 2021

Lordslimeball, can you elaborate on the solution I am having the same issue? 

Participant
August 6, 2022

good job for you to find a solution. I just started experimenting  and i'm also using OVRPlayerController and i want to move with locomotion and it doesn't! i push the touch controllers  sticks and nothing happens. I wondering why. You say to remove the OVRPlayercontroller script but that has all the stuff about Snap rotation etc which i want for no motion sickness and stuff....and also it has some other stuff about movement.