Forum Discussion
9of9
12 years agoExpert Protege
Getting IR Camera Transform
Just curious if anyone's poked around and found a way to get the transform for the IR camera in worldspace? It's the sort of thing that would be quite nice to have, similar to the way you can enable c...
9of9
12 years agoExpert Protege
Yeah, OVRMainMenu's method for checking bounds is pretty simple - it just seems to define a bounding box, which isn't really that accurate given that you're talking about a viewcone. The only thing you might want to keep is some check for when you're going too far back - the script resizes the camera's viewcone to the current Z-depth of the camera as reported by OVRDevice, but that's currently not too helpful unless you're looking back to check :P
Try pressing Enter (or A on a gamepad) after you've loaded up, to reset camera orientation. Sometimes when it's initialising it can't quite get the headset location and therefore the IR camera location ends up being off like that - resetting the camera orientation should fix it. All the relative positions and measurements it gets, it gets directly from the Oculus software, so as far as I know the only thing that can go wrong is that it can get them too early at the start, when the Rift's drivers haven't worked out the tracking info properly yet.
"Fangh" wrote:
Hi I am above the cone, I don't know why.
What are the value of your CameraRootPosition and NeckPosition in the inspector for your OVRCameraController ?
Thank you =)
Try pressing Enter (or A on a gamepad) after you've loaded up, to reset camera orientation. Sometimes when it's initialising it can't quite get the headset location and therefore the IR camera location ends up being off like that - resetting the camera orientation should fix it. All the relative positions and measurements it gets, it gets directly from the Oculus software, so as far as I know the only thing that can go wrong is that it can get them too early at the start, when the Rift's drivers haven't worked out the tracking info properly yet.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 7 months ago