Giter Club home page Giter Club logo

mrdl_unity_lunarmodule's Introduction

Mixed Reality Design Labs

This repo is where Microsoft's Windows Mixed Reality Design team publishes examples and explorations. The goal is to inspire creators and help them to build Mixed Reality experiences. We share sample app projects here that demonstrate how to use various types of common controls and patterns in Mixed Reality. Find out details about common controls and sample apps on https://developer.microsoft.com/en-us/windows/mixed-reality/design

Supported Unity version: 2017.1.0f3

The current supported version of Unity is Unity 2017.1.0f3. If you are looking to have support for previous versions of Unity please check under Releases.

Important: Requires submodule MRDesignLab

As soon as you clone the repo, init and update submodule with git command:

cd MRDesignLabs_Unity
git submodule init
git submodule update

To update the submodules you'll still need to pull from master by either going into the individual submodule directory and doing a git pull or by doing the following command to do pulls on all the submodules:

git submodule foreach git pull

This will add HUX and related tools under Assets/MRDesignLab/ folder

Lunar Module

Lunar Module sample app

Lunar Module is a open-source sample app from Microsoft's Mixed Reality Design Labs, it is a spiritual sequel to the 1979 Atari classic, Lunar Lander. This sample app will demonstrate how to extend Hololens' base gestures with two hand tracking and xbox controller input, reactive objects to surface mapping and plane finding, and simple menu systems. You can use this project's components to create your own mixed reality app experience.

Technical Details

Local Hand Input - Assets/MRDesignLab/HUX/Scripts/Utilities/LocalHandInput.cs - This script provides a convenient way to track left / right hand input in local space relative to the player's head. Once the player taps anywhere in space, that point is treated as the input origin and all translations are reported as X,Y and Z position / velocity in local space. This local translation survives world translations as well (eg, walking forward with your hand extended). Acceleration, clamping and dead zones are also provided.

Local hand input

Simple Menu Collection - Assets/MRDesignLab/HUX/Prefabs/Dialogs/SimpleMenuCollection - Most of Lunar Module's menus are generated by the SimpleMenuCollection.cs script, which extends SimpleMenu.cs class and combines it with ObjectCollection to provide a way to rapidly assemble interfaces.

To use this prefab, drag it into your scene and assign a button prefab. Then enter the desired button names and targets into the inspector editor. Buttons will be instantiated at runtime and assigned to the specified Input Receivers. (For an example of an Input Receiver, check out Assets/MRDesignLab_LunarModule/Scripts/Screens/StartupScreen.cs.) SimpleMenu.cs and SimpleMenuCollection.cs could easily be extended to include transitions, animations and so on.

Simple menu collection

Hand Coach - Assets/MRDesignLab_LunarModule/Prefabs/HandCoach - this prefab enables devs to create standardized tutorials for their apps. It provides an interface for demonstrating left or right handed gestures, including directional motion. Visual options include ghosting, highlighting and color changes for lost tracking.

Hand coach

More from Mixed Reality Design Labs

Common Controls Examples: https://github.com/Microsoft/MRDesignLabs_Unity

Periodic Table of Elements sample app: https://github.com/Microsoft/MRDesignLabs_Unity_PeriodicTable

Contributing

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

mrdl_unity_lunarmodule's People

Contributors

cre8ivepark avatar microsoft-github-policy-service[bot] avatar radicalad avatar railboy avatar taylorjames9 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mrdl_unity_lunarmodule's Issues

Access Violation as soon as FitBox is dismissed in the HoloLens Emulator

I get this error as soon as I dismiss the fitbox when running in the HoloLens Emulator and the app crashes to the shell.
I remember seeing an access violation issue related to the WorldAnchorStore in Unity 5.6 somewhere. could this be related?

Using Unity 5.6.2f1 btw...

Assertion failed on expression: 'IsNormalized(normal)'
0x633BA178 (UnityPlayer) DllGetActivationFactory
0x633B9FBE (UnityPlayer) DllGetActivationFactory
0x633BD610 (UnityPlayer) DllGetActivationFactory
0x611D184B (UnityPlayer) DllGetActivationFactory
0x611D1AB7 (UnityPlayer) DllGetActivationFactory
0x5FFCDCCA (UnityPlayer) DllGetActivationFactory
0x609B1484 (UnityPlayer) DllGetActivationFactory
0x609B12F2 (UnityPlayer) DllGetActivationFactory
0x605CA8F2 (UnityPlayer) DllGetActivationFactory
0x605CAA98 (UnityPlayer) DllGetActivationFactory
0x605CAFBA (UnityPlayer) DllGetActivationFactory
0x605CB348 (UnityPlayer) DllGetActivationFactory
0x611CF46B (UnityPlayer) DllGetActivationFactory
0x611B6407 (UnityPlayer) DllGetActivationFactory
0x611B6DD1 (UnityPlayer) DllGetActivationFactory
0x611B5EDB (UnityPlayer) DllGetActivationFactory
0x611B705B (UnityPlayer) DllGetActivationFactory
0x611B6F86 (UnityPlayer) DllGetActivationFactory
0x62477245 (UnityPlayer) DllGetActivationFactory
0x5FD58364 (UnityPlayer) DllGetActivationFactory
0x5FD63252 (UnityPlayer) DllGetActivationFactory
0x5FD63614 (UnityPlayer) DllGetActivationFactory
0x5FD7B972 (UnityPlayer) DllGetActivationFactory
0x6CB74C6F (threadpoolwinrt)
0x6CB7AFF6 (threadpoolwinrt) DllMain
0x77C3E981 (ntdll) RtlClearAllBits
0x77C3E941 (ntdll) RtlClearAllBits

(Filename: C:\buildslave\unity\build\Runtime/Geometry/Plane.h Line: 75)

The program '[2504] Lunar Module.exe' has exited with code -1073741819 (0xc0000005) 'Access violation'.

Cant place LandingPad in Master Build

When i compile the project as "Master" i cant place the landingpad. The light blue instruction text is missing too.
In "Release" build everything works fine.

I am using unity 2017.1 with visual studio 2017 and latest firmware on the hololens.

Which is the lander position determination function?

Hello, thanks for your great work on this project. I have some confusion. How to know whether the lander is in the target ring? And how can I get the lander's coordinate? And which function describe this? Looking forward to your reply.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.