OK, so I got the camera to work in VR mode perfectly on the start of the game.But when I scene change it moves the view to outside the and away from the player. Is there a way to keep this locked to the player or reset on each change? I have attached a video link showing my setup and that it works great on start, but after scene change,even back to original scene it is all off center and just doesn't work correctly.... Please keep in mind I am no coder so am unable to write my own script if that is what is required.
Comments
Drag the Player prefab into your scene, make the Camera: Switch Action and switch to the Player's camera. AC will give it a ConstantID component so that it can be found outside of the scene (necessary for instantiated prefabs). Find the ConstantID component, then check Retain in prefab? on it, Apply the changes and remove from the scene.
You shouldn't need to do this, however - if you attach a "_Camera" component to your SteamVR camera, AC will be able to "see" it in Actions etc - see Section 4.6 of the Manual.
One other thing to consider is placing the SteamVR Camera rig onto the MainCamera itself - but you will still need to switch to the player's camera.