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
Don't see the cursor
Hi guys, I can't see the cursor, I followed the tutorial Holograms 101. I also added a box collider, but I can't still see it. Do I change the position or something like that? I have it like in the video from Holograms 101. Please help!
0
Best Answer
-
OptionsPatrick mod
The cursor will only appear if you are looking at a hologram with a collider. We can change the project to always show the cursor...
Replace this code from WorldCursor.cs:
else { // If the raycast did not hit a hologram, hide the cursor mesh. meshRenderer.enabled = false; }
with
else { // If the raycast did not hit a hologram, put the cursor 2.0m in front of the user this.transform.position = headPosition + gazeDirection * 2.0f; this.transform.rotation = Quaternion.FromToRotation(Vector3.up, -gazeDirection); }
===
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?)
5
Answers
The cursor will only appear if you are looking at a hologram with a collider. We can change the project to always show the cursor...
Replace this code from WorldCursor.cs:
with
===
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?)
Thank you!!!