Class RVOExampleAgent Extends MonoBehaviour
Public
Example movement script for using RVO.
Primarily intended for the example scenes. You can use the AIPath or RichAI movement scripts in your own projects.
Public Methods
Awake
()
Public
OnPathComplete
(_p)
Public
RecalculatePath
()
Public
SetColor
(color)
Animate the change of color.
Public
SetTarget
(target)
Set the point to move to.
Public
Update
()
Public
Public Variables
groundMask
Public
maxSpeed
Public
moveNextDist
Public
repathRate
Public
slowdownDistance
Public
Private/Protected Members
AnimateColor
(rend, startColor, endColor)
Private
canSearchAgain
Private
controller
Private
nextRepath
Private
path
Private
rends
Private
seeker
Private
target
Private
vectorPath
Private
wp
Private