When you extend the use of SkyReal with Blueprints you quickly need to trigger actions with events such as controllers inputs, user actions, user position, ...
This events are necessary to trigger actions like displaying messages, starting animations, changing materials, ...
Here is a list of common events:
|Event triggered once at the very beginning of the experience.|
|Event triggered all the time, at every tick. The interval between two ticks is the Delta Seconds variable.|
This events exists for both hands.
|Pie menu button pressed.|
|Grip button pressed (button inside the controller, under the middle finger).|
|Selection button pressed.|
|Joystick moved on X axis (transversal). You get a value between 0 and 1.|
|Joystick moved on Y axis (forward). You get a value between 0 and 1.|
You can also use keyboard inputs. Type the input letter to find the event.
You can add specific events for every parts you can access from your blueprint (using variables of type Skr Part). These events are accessible in the Details tab of the variable.
The most useful events are:
|Event triggered when another actor begins to overlap. Can be used to determine user position.|
|Event triggered when the actor is clicked with a mouse.
WARNING: It doesn't work with lasers
You can bind actions to specific events using a custom event.
|Your custom event is executed any time the part connected to the target pin is clicked.|
|Your custom event is executed any time the part connected to the target pin overlaps with another part.|
|Your custom event is executed any time you enter or quit VR in SkyReal.|
|Your custom event is executed any time a part is snapped to its feature in SkyReal.|
|Your custom event is executed when the skr controller is ready to use. It is necessary to use the skr framework controller. see SDK page for further information.|
|Your custom event is executed any time a user swaps between Visible/Hidden/Trash worlds.|