Basic State Setup
States allow you to transition between different model states. You will create a new state for each state your model will be in during the lesson. Therefore, it is recommended you make a Default State that will contain all the default settings with your future states in mind. You can then duplicate your future states off of it to speed up the lesson creation process.
On the default state think about the following:
What position do I want my default model position to be?
What surfaces should VR users be able to teleport on?
What object will I be expanding in the Editor most often?
What object do I want the presenter to be able to expand freely during the lesson?
What effects should be applied by default?
What labels do you want visible in most states?
What state videos, image, and questions do I want applied?
What Hit Point style will I be using?
Will there be any audio playing through the lesson?
If you do not define these properties in your default state, then you will have to change them individually on each new state.
VR Teleport Area:
In order for VR users to teleport around your scene you will need to define what areas are allowed to teleported on. We can do this by selecting the area in the Viewport and toggling the "Teleport Area" property on, in the properties panel.
Expand Root defines the object that will be expandable when you change the state mode to Expand Mode. You can drag and drop a model part from the Scene Hierarchy to the Expand Root property in the Properties Panel while the state itself is selected.
The Freeplay Root defines the object that will be expandable for the presenter when the lesson is being played. You can drag and drop a model part from the Scene Hierarchy to the Freeplay Root property in the Properties Panel while the state itself is selected.
Once you have setup your first state with all the default settings you are ready to begin making your lesson. From now on you will want to duplicate this state instead of creating new state so that your default state will be attached to the state.
Duplcate a state by:
1. Selecting the state you want to duplicate
2. Press Ctrl+d or the "Duplicate State" button in the home ribbon
Per State Setup
Some Properties you will need to setup distinctly on each state. Each state should have a unique name and a description. These can be changed in the states properties (Properties Tab).
For VR you might want to make Teleport Spots. These are special teleport areas that change the state when teleported on. These are only visible by the Presenter and only when they are in mid teleport. They are optional and can be set for each state.
To turn on a teleport spot for a state:
1. Select the state
2. In the Properties Tab toggle the "VR Teleport" on.
3. The spot will appear in the Viewport where you can use the gizmos to position it.
Once a teleport spot is made visible it will be visible on all states when the presenter is teleporting. For example, I placed teleport spots on states 1 and 2, when I am play the lesson on state 3 and teleport, I can see teleport spots 1 and 2. If I teleport onto spot 1 it will take me to state 1.