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.
Options

Correctly indicate Objects behind the User

Im using the DirectionIndicator Script to lead Users to different Boxes that are out of their FoV (Field of View) and either in front or behind him. To do this I use an Arrow and a Line made with LineRenderer that connects the Point where the Cursor is with the Position of the Box searched for.
When the Box is behind the User the Arrow and the Line often point upwards or downwards (if the User is looking at the ground) because this is the shortest Vector.
What I personally want the Arrow and Line to do in this case is to point to the right/left and point slightly up/down dependent on the y-Variable of the Box behind.
The Reason for this is that the natural way to move if you want to get the Box inside your FoV is to turn left/right and not to turn the head 180° or more along the vertical axis which isn't even possible.
My thought right now is to create some artificial points the line has as an TargetPoint and Update it every frame so the line will point to the left/right side and never point directly upwards when the next Box is behind the User. That's pretty hard to do since you have to update the Point every Frame because you don't want the Line to lead to a Point in Space that is different to the Box and I also want it to indicate if it is higher or lower than the current CursorPosition while pointing left/right.
If anyone got an Idea how to do this I'd greatly appreciate it.
Thanks in advance!

Sign In or Register to comment.