pushrax / OpenVR-SpaceCalibrator

Use tracked VR devices from one company with any other.
MIT License
669 stars 111 forks source link

Adding the ability to offset the reference from the target device pose. #36

Closed sidequestlegend closed 4 years ago

sidequestlegend commented 4 years ago

This is not tested or complete yet, please don't merge this!

I have added a new UI button that allows you to enable "reference calibration" which is where it uses the target pose to update the tracking space translation/rotation. The hope is that I can use the grip on the target controller to achieve this but for now this is using a UI button to toggle the reference tracking. It is intended to save the pose when you enable reference tracking and then set the tracking position to be the delta from that until disabled, or until the grip is released when i implement that bit.