We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
For example, I have a position(1.0f, 2.0f, 3.0f) and a rotation (0.948324f, 0.317305f, 0.0f, 0.0f), Rotate around the x-axis by 30 degrees.
vr::DriverPose_t outPose; outPose.vecPosition[0] = 1.0; outPose.vecPosition[1] = 2.0; outPose.vecPosition[2] = 3.0; outPose.qRotation = { 0.948324f, 0.317305f, 0.0f, 0.0f }; outPose.qWorldFromDriverRotation = { 1.0f, 0.0f, 0.0f, 0.0f }; outPose.qDriverFromHeadRotation = { 1.0f, 0.0f, 0.0f, 0.0f }; outPose.poseIsValid = true; outPose.deviceIsConnected = true; outPose.result = vr::TrackingResult_Running_OK; outPose.shouldApplyHeadModel = true; // update pose to steamvr
In unity, I will get this result (1.0f, 2.024904f, 3.087058f) and a rotation (0.948324f, 0.317305f, 0.0f, 0.0f).
The text was updated successfully, but these errors were encountered:
No branches or pull requests
For example, I have a position(1.0f, 2.0f, 3.0f) and a rotation (0.948324f, 0.317305f, 0.0f, 0.0f), Rotate around the x-axis by 30 degrees.
In unity, I will get this result (1.0f, 2.024904f, 3.087058f) and a rotation (0.948324f, 0.317305f, 0.0f, 0.0f).
The text was updated successfully, but these errors were encountered: