microsoft / MixedRealityDesignLabs_Unity

Mixed Reality Design Labs share experimental samples, explorations and learning from Windows Mixed Reality Design group. If you are looking for official toolkit, please use Mixed Reality Toolkit
MIT License
408 stars 110 forks source link

AppBar position on Bounding Box Target is off #61

Closed msdoseightysix closed 7 years ago

msdoseightysix commented 7 years ago

Hi!

Maybe I am just doing something wrong, but when I use the bounding box target on a simple object like a cube, and the cube is stretched in different directions, the AppBar won't be positioned correctly in relation to the bounding box after I select the object.

Bounds Method is set to "Mesh Filter Bounds". I also tried the other options, but none of them works correctly.

ezgif-4-1cad565d19

2017-09-20_08-11-47

Railboy commented 7 years ago

Hi mschnabel - first off, thanks for the gif capture, those are always helpful.

We're not able to reproduce this behavior. Would you mind sending a snapshot of your scene hierarchy, or (even better) a small example scene?

msdoseightysix commented 7 years ago

Hi!

I've send you a simple Unity project where this kind of behaviour happens. As you will see in the project, I also added HoloToolkit. Maybe this is causing those side effects?

CubTest.zip

Railboy commented 7 years ago

Excellent, thank you for that scene. We'll investigate this today.

Railboy commented 7 years ago

AppBar has been changed to follow the scale of targeted objects more accurately.