Example movement script for using RVO.
More...
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.
- See also
- Pathfinding.AIPath
-
Pathfinding.RichAI
-
Pathfinding.RVO.RVOController
|
System.Collections.IEnumerator | AnimateColor (MeshRenderer rend, Color startColor, Color endColor) |
|
◆ AnimateColor()
System.Collections.IEnumerator AnimateColor |
( |
MeshRenderer |
rend, |
|
|
Color |
startColor, |
|
|
Color |
endColor |
|
) |
| |
|
private |
◆ Awake()
◆ OnPathComplete()
void OnPathComplete |
( |
Path |
_p | ) |
|
◆ RecalculatePath()
◆ SetColor()
void SetColor |
( |
Color |
color | ) |
|
Animate the change of color.
◆ SetTarget()
void SetTarget |
( |
Vector3 |
target | ) |
|
Set the point to move to.
◆ Update()
◆ canSearchAgain
bool canSearchAgain = true |
|
private |
◆ controller
◆ groundMask
◆ maxSpeed
◆ moveNextDist
◆ nextRepath
◆ path
◆ rends
◆ repathRate
◆ seeker
◆ slowdownDistance
float slowdownDistance = 1 |
◆ target
◆ vectorPath
◆ wp
The documentation for this class was generated from the following file:
- /Users/arong/Unity/a-pathfinding-project/Assets/AstarPathfindingProject/ExampleScenes/Example11_RVO/RVOExampleAgent.cs