SceneNode \ Transform \ Location
Get Node Location
The Get Node Location response enables the user to obtain the X, Y, and Z coordinates of an object's location each time the event connected to it is triggered. Once the response is executed, the coordinates can be acquired through the X, Y, and Z ports.
Example
In this example, a Get Node Location response is used to obtain the X, Y, and Z coordinates of an object named Table once the user triggers the object named Activate. The coordinates are then stored in variables named X, Y, and Z, which can be connected to a variable writer to be displayed during the VR experience.
Set Node Location
The Set Node Location response enables the user to set the location of an object to specific X, Y, and Z coordinates by either typing in the numerical values or by attaching a variable node to those ports. Once the response is executed, the object's new location is applied using the provided coordinates.
Example
In this example, a GetSet Node Location response is used to obtainassign the X, Y, and Z coordinates ofstored in variables named X, Y, and Z to an object named TablePot once the user triggers the object named Activate. The coordinatesobject's arenew thenlocation storedis inset variablesbased namedon X,these Y,coordinates, andallowing Z,the whichupdated can be connected to a variable writerposition to be displayedreflected during the VR experience.