Training Builder Menu
Training Builder is a visual tool that allows VR experience designers to control the logic in the VR experience without the need to write any code.
Training Builder allows the user to link an Event with Response(s)
An Event is fired when something happens in the experience, for example when the user clicks on a specific object, or when an object collides with another object. A Response is a reaction the VR experience should do when an Event takes place.
For example, when the user clicks on Globe Object (Earth_geo) Scene Node in the Node Triggered Event, it starts the rotation sequence (Play Sequence) Response, as shown in the following image;
There is no limit to the number of elements in Training Builder. The user can add as many elements as needed in diagrams.
Each Diagram can have up to 300 elements to keep things organized for big projects. For small projects one diagram should be enough, for larger projects the user needs to organize work by keeping up to 300 elements in each diagram.
Creating your first VR experience can serve as a good first interaction with the Training Builder to see it in action
The following video provides more details about using Training Builder
SimLab Academy (in the Library panel) under VR Creation includes a section dedicated for Training Builder tutorials.
Variables and Expressions
Using Training Builder, enables users to add variables and use them in creating VR experiences. Check this tutorial about using variables in Training Builder.
Supported variables are of the following types:
String Variable; Stores object names, message data, ..etc
Number Variable; Supports both integer and float numbers. Can be used for calculating, and storing values
Time Variable; can save time at any stage of the VR experience
The initial value can be set to any string in the variable editor in the training builder.
When used in Change Variable response, the string should be surrounded by single quotations (' ')
Expression-supported operations include adding strings and substring
Initial Value can be set to any float or integer numbers, the following operations are supported for number variables
Increment: Adds one to the current value
Decrement: Subtracts one from the current value
Time Difference: Calculates the difference in seconds (up millisecond precision) between two-time variables
Expression: a large number of expressions are supported, list of supported expressions can be found in the following link, The following tutorial shows how expressions can be used in Training Builder
The initial value for all time variables is set to the start time of the VR experience, at any point of the VR experience the user can capture the current time and store it in a time variable
This tool enables the user to track the value of a variable in the VR experience
The value of the variable is updated dynamically, so whenever the variable value changes the variable writer will be updated to show the new value of the variable. Variable Writer is available under the VR Effects Menu.
The user can control its size, and place, so it can be aligned on a wall in the scene or on a monitor, user selects which variable to view, the color of the text, and the prefix text.
Having multiple Variable Writers belonging to the same group makes them have the same font size.
Variables can be created and edited by clicking the Edit Variables button at the top right part of the Training Builder. It allows the user to view/delete/change the initial values of existing variables, or create new variables.
Clicking '+' at the top right corner of the Edit Variables and Initial Values dialog will add a new variable. The user can click to change the name of the variable, select its type from the combo box, and set its initial value.
Inputs are entities used as triggers for actions in the Training Builder diagram. For example, if multiple nodes in the diagram use a Scene Node, it can be used as input and be connected to multiple blocks. Updating the input once will be reflected all blocks using this input.
|Scene Node (object)
Events are triggered when something happens in the VR experience.
The following image shows how to use Scene Start Event, which takes place as soon as the VR experience starts, to play Sound Action Response.
|Scene State Applied
|Node Entered Node
|Node Exited Node
|Hand Entered Node
|Hand Exited Node