cancel
Showing results for 
Search instead for 
Did you mean: 

(Unity) OVRPlayerController- How to get OVRPlayerController to move with OVRCameraRig

tkdHayk
Protege

I'm working off the standard OVRPlayerController, which has an OVRCameraRig as its child.
This is a game where I need thumbstick locomotion (which the OVRPlayerControllerProvides), but I also need roomscale movement. In other words, I need to make sure that when the player moves physically, his in game avatar should also move.

Currently whats happening is that when the player moves physically, the OVRcameraRig moves with him, but the parent OVRPlayerContoller does not move. This is an issue because I need my OVRPlayerController to move with my player at all times for proper collision tracking and targeting by Hostile AI. 

What is the best way to achieve this? Iv'e tried a few ways to make it work but wondering what the cleanest solution is. I'll also need hand tracking for this game. Perhaps I should simply use the AvatarSDK standard avatar and make it a child of a Character Controller for thumb stick movement? 

thanks for the help!

j8pbtkylbjic.png

11 REPLIES 11

alivenow
Explorer

Hi All, I'm also having this issue.

Can anyone please provide the complete solution to resolve this issue.

 

Thank in advance.

uDezimiro
Protege

same issue