All Classes Namespaces Functions Variables Enumerations Properties Pages
Classes | Public Attributes | List of all members
InteractionTrigger Class Reference

When a character with an InteractionSystem component enters the trigger collider of this game object, this component will register itself to the InteractionSystem. The InteractionSystem can then use it to find the most appropriate InteractionObject and effectors to interact with. Use InteractionSystem.GetClosestTriggerIndex() and InteractionSystem.TriggerInteration() to trigger the interactions that the character is in contact with. More...

Inherits MonoBehaviour.

Collaboration diagram for InteractionTrigger:
Collaboration graph
[legend]

Classes

class  CameraPosition
 Defines the valid range of the camera's position relative to this trigger. More...
 
class  CharacterPosition
 Defines the valid range of the character's position and rotation relative to this trigger. More...
 
class  Range
 Defines the valid range of the character's and/or its camera's position for one or multiple interactions. More...
 

Public Attributes

Range[] ranges = new Range[0]
 The valid ranges of the character's and/or its camera's position for triggering interaction when the character is in contact with the collider of this trigger. More...
 

Detailed Description

When a character with an InteractionSystem component enters the trigger collider of this game object, this component will register itself to the InteractionSystem. The InteractionSystem can then use it to find the most appropriate InteractionObject and effectors to interact with. Use InteractionSystem.GetClosestTriggerIndex() and InteractionSystem.TriggerInteration() to trigger the interactions that the character is in contact with.