Hello everyone.
The Mixed Reality Forums here are no longer being used or maintained.
There are a few other places we would like to direct you to for support, both from Microsoft and from the community.
The first way we want to connect with you is our mixed reality developer program, which you can sign up for at https://aka.ms/IWantMR.
For technical questions, please use Stack Overflow, and tag your questions using either hololens or windows-mixed-reality.
If you want to join in discussions, please do so in the HoloDevelopers Slack, which you can join by going to https://aka.ms/holodevelopers, or in our Microsoft Tech Communities forums at https://techcommunity.microsoft.com/t5/mixed-reality/ct-p/MicrosoftMixedReality.
And always feel free to hit us up on Twitter @MxdRealityDev.
The Mixed Reality Forums here are no longer being used or maintained.
There are a few other places we would like to direct you to for support, both from Microsoft and from the community.
The first way we want to connect with you is our mixed reality developer program, which you can sign up for at https://aka.ms/IWantMR.
For technical questions, please use Stack Overflow, and tag your questions using either hololens or windows-mixed-reality.
If you want to join in discussions, please do so in the HoloDevelopers Slack, which you can join by going to https://aka.ms/holodevelopers, or in our Microsoft Tech Communities forums at https://techcommunity.microsoft.com/t5/mixed-reality/ct-p/MicrosoftMixedReality.
And always feel free to hit us up on Twitter @MxdRealityDev.
Options
Hololens position in world in real-time - C++
MarcDub
✭✭
How can I obtain a real-time feedback of the hololens (or user) position in the world coordinate. I found in the C++ example that you can get the head position when the user do the finger gesture with
SpatialInteractionSourceState^ pointerState = m_spatialInputHandler->CheckForInput();
float3 Head_Position = pointerState->TryGetPointerPose(currentCoordinateSystem)->Head.
How can I get the position at any time, without gesture from the user?
1
Best Answer
-
OptionsPatrick mod
What you need to do is:
SpatialPointerPose^ spp = SpatialPointerPose::TryGetAtTimestamp(currentCoordinateSystem,prediction->Timestamp);
===
This post provided as-is with no warranties and confers no rights. Using information provided is done at own risk.(Daddy, what does 'now formatting drive C:' mean?)
8
Answers
What you need to do is:
SpatialPointerPose^ spp = SpatialPointerPose::TryGetAtTimestamp(currentCoordinateSystem,prediction->Timestamp);
===
This post provided as-is with no warranties and confers no rights. Using information provided is done at own risk.
(Daddy, what does 'now formatting drive C:' mean?)
Thanks Patrick. It really helped.