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

SurfaceMeshesToPlanes/SurfacePlane Prefab not functional?

Heya,

So, I'm attempting to use the SurfacePlane prefab (and by proxy the SurfacePlane.cs script and SurfaceMeshesToPlanes.cs) for an app I'm developing. I've pulled these resources from the most recent HoloToolKit; I'm basically aiming to place a flat board-game upon a wall, and only recognizable, spatially understood walls.
In my scene are the basic stuff: the Hololens camera, SpatialMapping prefab, AnchorManagement, and the InputManager. I've also a cursor, and then I've inserted the SurfacePlane prefab to attempt to place this flat-esque board-game onto a wall. When I run the app on my emulator/Hololens, however, the prefab simply squeezes its Z-scaling and doesn't budge. Am I doing something wrong; am I going about this the wrong way? Looking into the relevant '.cs' and 'dll' files hasn't really yielded any fruitful results...
I'd develop a "placeable.cs" script for the cube in my scene, but I'm afraid the SurfacePlane prefab isn't functional enough to use/reference. Currently, the cube just has the "TapToPlace" script on it.

That flat white thing on the left was originally the SurfacePlane prefab, but it doesn't seem to be adapting to the emulator's preset environ...

Sign In or Register to comment.