Sylvain Joly

Search Knowledge Base by Keyword

You are here:



The Touch condition can define two different interaction modes: one for VR, and another one for AR. Select the details for each below.

[tabby title=”SpatialStories for VR”]

In VR, what we call the Touch condition is when the user points at an object with a controller and pulls the trigger. It can be compared to a distant selection.

In order for this condition to work, you have to make sure your object has the Touch manipulation mode enabled (if needed, see section Manipulation Modes). At the root of the IO, you can choose the mode you want as well as to specify the distance between the user and the IO for the condition to be detected. Note that Manipulation Mode and distance can both be modified at runtime with a specific action.

To set up your condition you need to specify three fields :

  1. The hand you want to take into account: LEFT, RIGHT or BOTH (Both meaning that any of the hands validate the condition);
  2. The action: TOUCH (trigger is pulled), UNTOUCH (trigger is released);
  3. The concerned IO if you want a different one (by default, it is the root of the interaction).


[tabby title=”SpatialStories for AR”]

In AR, the Touch condition is valid when the user taps on the screen. You have to specify two fields:

  1. Object: the condition will be valid if the user touches the specified object. Note that the zone used to detect this is the Gaze collider inside each IO;
  2. Anywhere: the condition will be valid no matter where the user touches the screen.