A* Pathfinding Project
3.1.4
The A* Pathfinding Project for Unity 3D
|
RVO Character Controller. More...
Public Member Functions | |
void | Awake () |
void | Move (Vector3 vel) |
void | OnDisable () |
void | OnEnable () |
void | Teleport (Vector3 pos) |
void | Update () |
Protected Member Functions | |
void | UpdateAgentProperties () |
Properties | |
Vector3 | position [get] |
Vector3 | velocity [get] |
Private Attributes | |
float | adjustedY = 0 |
Vector3 | desiredVelocity |
Vector3 | lastPosition |
Position for the previous frame. | |
IAgent | rvoAgent |
Simulator | simulator |
Transform | tr |
RVO Character Controller.
Designed to be used as a drop-in replacement for the Unity Character Controller, it supports almost all of the same functions and fields with the exception that due to the nature of the RVO implementation, desired velocity is set in the Move function and is assumed to stay the same until something else is requested (as opposed to reset every frame).