Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ XR Studio

Disabling undesired behaviors

  • Last UpdatedDec 06, 2023
  • 1 minute read

When using the manipulation system, you might want to disable several default EYESIM module-based behaviors, especially if the application is simulation-based.

To do this, isolate the unneeded behaviors using a delroute node.

Code example

Here is an example of Delroute configuration.

<delroute from="joy0.B10Down" to="switchToolMenu.execute"/>

<delroute from="joy0.B9Down" to="switchMode.execute"/>

<delroute from="joy0.B3Down" to="switchSelection.execute"/>

<delroute from="mouse.rightDown" to="switchSelection.execute"/>

<if condition="@def:system.stereoMode@==oculus+@def:system.stereoMode@==openvr" >

<delroute from="joy0.PDDown" to="player0.crouch" />

</if>

Remove an undesired behavior

  1. Identify the trigger event node. For example, joy0 or keyboard key.

  2. Use the Player Debug tool to look for trigger event routes.

  3. Disable the route.

Alternatively, you can try to prevent the triggers from executing. This may lead to patch nodes, such as the example below:

<patch name="localAvatar" physicsActive="false"/>

TitleResults for “How to create a CRG?”Also Available in