Teleport location points on map
- Last UpdatedDec 04, 2023
- 2 minute read
An interesting feature of the map system is the capability to define a set of points in the plant to be used both from the XR Instructor and the XR Viewer as teleports.
The player can jump from one location to another location to reduce time. This is good in big plants when a session is about a particular equipment that is located very far from the initial start point.
Two are the steps to define teleport location points.
-
Positioning the camera
-
Adding teleport cameras to the map
Positioning camera
You can use cameras for several purposes, and one of them is the definition of teleport locations.
For more information on how to add one or more cameras to a graphic context, see Add Content in Graphic Context Editor.
Adding teleport cameras to the map
This code example shows how to add the teleport location cameras to the map system.
<patch name="maps" showCameras="cam_sec01_00,cam_sec01_01,cam_sec01_02,cam_sec01_03,cam_sec01_04,cam_sec02_00,cam_sec02_01,cam_sec02_02,cam_sec02_03,cam_sec02_04" />
Guidelines
-
Because showCameras is a parameter of the Maps node, you can populate or modify the list of the cameras at runtime routing. For example, the list content to sensors activation.
-
Another relevant point is the cameras nodeInfo parameter that is used to display the name of the camera in the map. If this parameter is not configured, the camera name is used in substitution.
-
Finally, consider that selecting a camera inside the XR Instructor implies not only moving to that location, but also the usage of the camera settings (such as Far, Near, FOV). This behavior is different in the XR Viewer. It is recommended that you use the same setup for all placeholder cameras.