Skip to main content
Up and Coming
October 19, 2017

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

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!

This topic has been closed for replies.

11 replies

uDezimiro
Up and Coming
July 15, 2024

same issue