Creating Workshop Modules
Feature Summary
This is how to quickly build upon or remake the workshop module from xr-template with different models and different set ups.
Feature Example Use Case
In the below video you can see how I use the model viewer helper. I have chosen a very simple model (No Info Points and No Cutaway).
Feature Requirements (Core/MM/Xlinks)
Core version: 0.2.155
Middlemen version: 0.2.161
Flow-SDK - 232
Audio - 228
Lobby - 2638
Orientation - 682
PPE - 383
Template Core - 2270
Template Scenes - 226
luminous-external-plugins - 176
Feature Setup Instructions
This is for creating model viewer esque scenarios with minimal work using the templates provided in Flow. As such it is as simple as opening up Workshop scene. Selecting the QuickDropModel Gameobject and using the ModelUpdateHelper component attached to it to update the scenario as shown in the video above.
Cutaways
If you wish to include Cutaways then you need to add a “Cutaway Parts” component to the model preferably somewhere near the root and fill in the details.
Cutaway Model Parts - These gameobjects will be made inactive when cutaway is pressed.
Enable On Cutaway - These gameobjects will be made active when cutaway is pressed.
Cutaway Animations - These game objects are made active when cutaway is pressed and should contain an Animator set to autoplay.
InfoPoints
If you wish to include Info Points you should add a “Label Manager” component to the model and fill in the details, preferably somewhere near the root.
Normal Labels - These are toggled on/off when Show Labels is pressed and are always present.
Cutaway Labels - These are toggled on/off when Show Labels is pressed and are only present during “Cutaway” mode.