ValveSoftware / openvr

OpenVR SDK
http://steamvr.com
BSD 3-Clause "New" or "Revised" License
6.12k stars 1.28k forks source link

Can I get the position and orientation from Vive Tracker via OpenVR APIs? #1671

Open felixshing opened 2 years ago

felixshing commented 2 years ago

Hello, I want to capture the position and orientation data from Vive Tracker, which is used for full-body tracking. Can I get them from OpenVR APIs? I know I can get the position and orientation from the headset and controllers via OpenVR, but I am unsure if I can do the same thing to get the data from Vive Tracker

Rectus commented 2 years ago

Yes, they are accessible in similar ways, both from IVRCompositor and IVRInput.