openvr
openvr copied to clipboard
How to get the rotation axis from the matrix obtained by WaitGetPoses
vr::VRCompositor()->WaitGetPoses(m_rTrackedDevicePose, vr::k_unMaxTrackedDeviceCount, NULL, 0 ); m_rmat4DevicePose[nDevice] = ConvertSteamVRMatrixToMatrix4( m_rTrackedDevicePose[nDevice].mDeviceToAbsoluteTracking );
我现在要用到手柄的rotation,不知道要怎么转换,有哪位大神知道怎么转换不?