Problems with mouselook script
Hi all,
I'm still fairly new to programming in Unity but I've made good progress so far. As I'm not a massive fan of the default Player controller I have decided to try and make my own as a prefab using OVRCameraController. I have based this off the following setup that came with a demo I bought on the Unity asset store:
- First Person Controller (capsule object) - uses mouselook.cs from the standard assets folder in the X direction
--- "head" object with view-bobbing animation
------ Camera object - uses mouse look.cs in the Y direction, as well as image effects
This setup works with a single camera, and reading through the comments of mouselook.cs this appears to be correct. However, after replacing the single camera with the OVRCameraController, mouselook no longer works at all (in either X or Y). I can't work out why this would be the case, as the script does not appear to have changed.
It's rather difficult to explain so if this isn't a common/silly question then I'm happy to upload a copy of my project to clarify.
Thanks,
Adam
I'm still fairly new to programming in Unity but I've made good progress so far. As I'm not a massive fan of the default Player controller I have decided to try and make my own as a prefab using OVRCameraController. I have based this off the following setup that came with a demo I bought on the Unity asset store:
- First Person Controller (capsule object) - uses mouselook.cs from the standard assets folder in the X direction
--- "head" object with view-bobbing animation
------ Camera object - uses mouse look.cs in the Y direction, as well as image effects
This setup works with a single camera, and reading through the comments of mouselook.cs this appears to be correct. However, after replacing the single camera with the OVRCameraController, mouselook no longer works at all (in either X or Y). I can't work out why this would be the case, as the script does not appear to have changed.
It's rather difficult to explain so if this isn't a common/silly question then I'm happy to upload a copy of my project to clarify.
Thanks,
Adam
