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.
Walk around a unity 3d model?
Hi everyone! We have recently had 2 HoloLens delivered for a workshop this week and we've been working on multiple uses for them in our company...
One example is the display of complex FBX 3d content as a "hologram".
Using this set up:
Windows 10 base machine
- Unity 5.5
- 3d Studio Max
- Visual Studio with latest Windows 10 SDK
HoloLens in Dev mode attached using USB
We have managed to easily put a complex FBX object into Unity and export to HoloLens via VS. There was a lot of happy faces this week
The next step for me as a developer is to allow the user to start with the object at waist height and walk around it.
Currently, it is huge and above their heads lol.
Is there a set of basic Unity settings to set this up - positioning and to allow a walkaround? Also how do I set up manipulating the size and position - at the moment it is a dumb object.
thanks!
Alex
Best Answer
-
OptionsDavidKlineMS mod
@AlexBradshaw,
You can place the model at a fixed point using it's Transform.Position (ex: 0, -.5, 2) and it will appear 1/2 m below and 2 in front of the user based on the orientation of the HoloLens when the application was started. It will remain there until the application is restarted or you add code to allow for modifying the location.It also sounds like you need to adjust the Transform.Scale value as well. Some modeling tools use different scales and may need to be made smaller or larger in Unity.
Hope this helps!
David5
Answers
@AlexBradshaw,
You can place the model at a fixed point using it's Transform.Position (ex: 0, -.5, 2) and it will appear 1/2 m below and 2 in front of the user based on the orientation of the HoloLens when the application was started. It will remain there until the application is restarted or you add code to allow for modifying the location.
It also sounds like you need to adjust the Transform.Scale value as well. Some modeling tools use different scales and may need to be made smaller or larger in Unity.
Hope this helps!
David