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
Why is my Mixed Reality Design Labs App Bar not responding?
Hi everyone,
I am building an holographic application for the Microsoft HoloLens which adds 3D models and is supposed to have the functionality to rotate, scale, move and remove the models. It is comparable with the default holograms app on the HoloLens.
The problem is that my App Bar is not responding to OnTapped()
protected override void OnTapped(GameObject obj, InteractionManager.InteractionEventArgs eventArgs) {
if (Time.time < lastTimeTapped + coolDownTime) {
return;
}
lastTimeTapped = Time.time; lastFocusExit = Time.time; base.OnTapped(obj, eventArgs); System.Diagnostics.Debug.WriteLine(obj.name); switch (obj.name) { case "Remove": // Destroy the target object GameObject.Destroy(boundingBox.Target); // Set our bounding box to null so we'll disappear boundingBox = null; break; case "Adjust": // Make the bounding box active so users can manipulate it State = AppBarStateEnum.Manipulation; break; case "Hide": // Make the bounding box inactive and invisible State = AppBarStateEnum.Hidden; break; case "Show": State = AppBarStateEnum.Default; break; case "Done": State = AppBarStateEnum.Default; break; default: break; } }
this is the scene and below are the other settings
App Bar settings
Capsule component settings
InteractionManager settings
ManipulationManager settings
Do you know why my app bar is not responding?
1
Answers
I have the same issue, and all manipulations work with mouse only.
@Nairu777 @fil Please take a look at Bounding Box and App Bar in MRTK.
https://github.com/Microsoft/MixedRealityToolkit-Unity/blob/Dev_Working_Branch/Assets/MixedRealityToolkit-Examples/UX/Readme/README_BoundingBoxGizmoExample.md