OvrColliderTrigger

Subclass of Ovr.OvrNode

Description

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.

Attributes

Note: the following attributes are added to the existing ones from the super class OvrNode

NameTypeDescription

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.

Last updated