microsoft / MixedRealityCompanionKit

This is a MixedRealityToolkit style repository for code bits and components that may not run directly on Microsoft HoloLens or immersive headsets but instead pair with them to build experiences.
MIT License
596 stars 288 forks source link

Adding networked anchor sharing for the "Asset Viewer" stage object #254

Closed AMollis closed 6 years ago

AMollis commented 6 years ago

The "Asset Viewer" is a sharing experience. Players all share the same view of an asset stage. However, wouldn't it be nice if this stage was also placed at the same anchor location for all HoloLens headsets? Well, wait no more.

With this change, the stage's anchor is shared across multiple HoloLens headsets. This change was designed in such a way as to isolate the network anchor code into separate components, leaving the original app code mostly untouched.

As a bonus, some “Asset Viewer” pieces were missing script behaviors (i.e. bugs!). The billboard and tag along scripts had somehow gotten removed from game objects which relied on these behaviours. This problem has been fixed.

msftclas commented 6 years ago

CLA assistant check
All CLA requirements met.

AMollis commented 6 years ago

Addressed David's comments. Waiting for David to review.