Hi,
We are trying to synchronize the SteamVR CameraRig with a GameObject. We want to assign a personage to the VR player so that the player is visible to other players when playing multiplayer. We tried using our own controls via a script applied to the GameObject but this only moves the GameObject and not the CameraRig.
How can we achieve this?
We use Photon PUN2 for multiplayer and SteamVR for the VR. We use Unity 2019.3.13f1
You are doing it backwards - first, go back to working controls without worrying about networking.
Once you have everything working properly again, create an empty gameobject and set it up to be networked in PUN.
Then have code on the new gameobject to keep it in sync with your rig.
I’m also assuming you are familiar with building VR games, and already know that your rig doesn’t move very much in world space - you are supposed to have controls that move your “Player” through the world, like targeting the ground and clicking the trigger to teleport.
There could also be something else you are missing, if you are new to PUN - I don’t know.