Subclass of Ovr.OvrNode
This script is used to trigger the execution of an OvrNode or sequence of OvrNodes if there is an interaction between colliders.
In order to make this script work, the elements you want to interact with each other must have colliders. You can find more info here.
Note: the following attributes are added to the existing ones from the super class OvrNode
Name | Type | Description |
---|---|---|
InteractWithUserCamera
boolean
If True, this Collider interacts with the main Camera
ConsideredGameObjectNames
string [ ]
Collection of GameObject names. Only these objects will interact with the Collider.
TriggerEnterNodes
Grouped OvrNodes, to be executed once an interacting object enters the Collider space.
TriggerStayNodes
Grouped OvrNodes, to be executed if an interacting object stays inside the Collider space.
TriggerExitNodes
Grouped OvrNodes, to be executed once an interacting object escapes the Collider space.