Training Builder Menu

Training Builder is a visual tool that allows VR experience designer to control the logic in the VR experience without the need to write any code.

Training Builder allows the user to links 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 the 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 



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) includes a section dedicated for Training Builder tutorials.

image-1640785326141.png

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 the time at any stage of the VR experience

String Variables

Initial value can be set to any string in the variable editor in training builder.
When used in Change Variable response, string should be surrounded in single quotations (' ')

Expression supported operations include adding strings, and substring

Number Variables

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 different in seconds (up millisecond precision) between two time variables
Expression: 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

 

Time Variables

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 current time and store it in a time variable

Variable writer

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, color of the text, and prefix text.

Having multiple Variable Writers belonging to the same group make them have the same font size.

Create/Edit Variables

Variables can be created and edited by clicking the Edit Variables button ay the top right part of the Training Builder. It allows the user to view/delete/change 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.  

image-1640786112008.png

Inputs

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 to all blocks using this input.

image-1640864088313.png

Icons Inputs Name

image-1640867203871.png

Sequence

image-1640867222136.png

Scene State

image-1640867229007.png

 

Scene Node (object)

image-1640867265880.png

String

image-1640867269395.png

Variable

image-1640867272695.png

Action

image-1640867281155.png

Boolean

Events

Events are triggered when something happens in the VR experience. 

image-1640864400169.png

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.   

image-1640864615632.png

Icons Events Name

image-1640867289708.png

Scene Start

image-1640867302822.png

Scene State Applied

image-1640867307602.png

Sequence Ended

image-1640867315212.png

Node Entered Node

image-1640867318814.png

Node Exited Node

image-1640867323149.png

Node Triggered

image-1640867327396.png

Node Grab Started

image-1640867330461.png

Node Grab Ended

image-1640867334407.png

Delay

Responses

Responses are defined reactions to events. To link a Response to an event simply the user needs to connect the Execute channel from Event to the execute channel of a Response. The user can connect the output Execute channel from a Response to input Execute channel of another response to guarantee order of execution and to link multiple responses to an Event.

image-1640865126220.png

In the diagram below shows responses to clicking on an object (Node Triggered)
1- Play a Sequence
2- Wait for 2 seconds
3- Hide an object from the scene 

image-1640865661701.png

Icons Responses List

image-1640866164039.png

Apply Scene State

image-1640866172144.png

Play Sequence

image-1640866177013.png

Show/Hide

image-1640866181887.png

Teleport to Camera

image-1640866214392.png

Sound Action
image-1640865898193.png

 

Report user defined measurement

 

image-1640866085617.png

Change Equipment State
image-1640865936881.png Change Node Grabbable State

image-1640866118467.png

Stop Sequence

image-1640866234988.png

Show Message Box

image-1640866249109.png

Change Node Action
image-1640866292654.png Video Action
image-1640866334412.png Run Quiz/Survey 
image-1640866380913.png

Change Variable Value

image-1640866395399.png

Branch (Checks value if true follows one path, if false follows the other)