OvrCharacterController
Subclass of Ovr.OvrNode
Subclass of Ovr.OvrNode
This Node is used to manage the most common interactions with the Unity CharacterController Component.
This OVER Component requires a CharacterController to be set up, see Unity Manual for more info.
Based on the action the CharacterController is required to perform, this component changes its behavior and requirements.
The OVER SDK provides several ways to interact with the Unity CharacterController Component. A list can be found in OvrCharacterControllerActionType.
Allows the user to handle the movement of the target CharacterController. SimpleMove allows the user to implement a simple movement of the character, by simply applying speed, Move allows for a more elaborate movement type, applying motion to the GameObject attached to the CharacterController.
Note: the following attributes are added to the existing ones from the super class OvrNode
Name | Type | Description |
---|---|---|
CharacterController | Unity CharacterController Component | |
ActionType | Action type [Move, SimpleMove] | |
Space | World space or Local space | |
Direction | Movement direction | |
CustomDirection | [Custom only] Custom direction vector |
Execute the assigned UnityAction. Use this Type to directly access the functions made available by Unity in the specific component.
Note: the following attributes are added to the existing ones from the super class OvrNode
Name | Type | Description |
---|---|---|
CharacterController | Unity CharacterController Component | |
ActionType | Action type [UnityAction] | |
UnityAction | UnityAction | UnityAction to be invoked |