Skip to main content
New Participant
August 30, 2016

Tracking the Rift's position and orientation about a fixed origin (relative to the camera)

I'm working on a project (in Unity 5) which requires absolute position and orientation tracking relative to the camera. This is in combination with Leap VR hand tracking and some physical equipment (fixed relative to the camera) which the user interacts with while in VR. The runtime clearly knows the information I need - is there any way of extracting the transformation from camera-tracking space to the tracking space presented by the runtime?

What I've got at the moment is a kind of reverse-calibration which 'corrects' the tracking transformation so that the camera position and orientation is fixed in the scene, but that seems archaic and doesn't work properly when the camera is pitched up or down.
This topic has been closed for replies.

2 replies

Inspiring
August 30, 2016
AMD Ryzen 7 1800X | MSI X370 Titanium | G.Skill 16GB DDR4 3200 | EVGA SuperNOVA 1000 | Corsair Hydro H110i Gigabyte RX Vega 64 x2 | Samsung 960 Evo M.2 500GB | Seagate FireCuda SSHD 2TB | Phanteks ENTHOO EVOLV
AliShugAuthor
New Participant
August 31, 2016
Thanks, @vrdaveb's code in the other thread did the trick.