Data Types \ Number \ Operations
Add
The Add response enables user to add two values by either typing in a numerical value in Number A and Number B field or by attaching a value or a variable node the those ports, then once the response is executed the resulting value can be acquired through the Result port.
Example
In this Example an Add Responses is used to add the values of 2 variables (Value1, Value2) once the user triggers the object named Add Button, and the result of the addition are then written in a variable named Result, which can then be connected to a variable writer to be displayed during the VR Experience.
Subtract
The Subtract response enables user to subtract a value from another by either typing in a numerical value in Number A and Number B field or by attaching a value or a variable node the those ports, then once the response is executed the resulting value can be acquired through the Result port.
Example
In this Example a Subtract Responses is used to subtract a value of 5 from the value of the variable named Value1, once the user triggers the object named Activate, and the result of the subtraction are then written in a variable named Result, which can then be connected to a variable writer to be displayed during the VR Experience.
Multiply
The Multiply response enables user to multiply two values by either typing in a numerical value in Number A and Number B field or by attaching a value or a variable node the those ports, then once the response is executed the resulting value can be acquired through the Result port.
Example
In this Example a Subtract Responses is used to subtract the value of from the value of the variable named Value1, once the user triggers the object named Activate, and the result of the subtraction are then written in a variable named Result, which can then be connected to a variable writer to be displayed during the VR Experience.