[unity5] Editing OVRCameraRig
Hi,
I’ve got a problem since I updated my project to unity 5 with 0.8.0.0b runtimes and 0.1.3.0-beta integration for unity.
For my project, I need to change how the headset is tracked in space. So I made some modifications to the OVRCameraRig script to change the behavior of the tracking. (I added some code in the UpdateAnchors() function to modify the localpositions of centerEyeAnchor, leftEyeAnchor and rightEyeAnchor.)
It worked well on unity 4.5 with v0.6.0.0 unity integration, but since we updated to 0.8.0.0 and unity 5 and the new beta integration, with the same modifications to the new OVRCameraRig, our code doesn’t affect the centerEyeAnchor anymore, but it still affect leftEyeAnchor and rightEyeAnchor (We can see it in the editor).
So when I build my program, it’s like my modification isn't even here.
Thanks for help.
I’ve got a problem since I updated my project to unity 5 with 0.8.0.0b runtimes and 0.1.3.0-beta integration for unity.
For my project, I need to change how the headset is tracked in space. So I made some modifications to the OVRCameraRig script to change the behavior of the tracking. (I added some code in the UpdateAnchors() function to modify the localpositions of centerEyeAnchor, leftEyeAnchor and rightEyeAnchor.)
It worked well on unity 4.5 with v0.6.0.0 unity integration, but since we updated to 0.8.0.0 and unity 5 and the new beta integration, with the same modifications to the new OVRCameraRig, our code doesn’t affect the centerEyeAnchor anymore, but it still affect leftEyeAnchor and rightEyeAnchor (We can see it in the editor).
So when I build my program, it’s like my modification isn't even here.
Thanks for help.
