Quadtree for quick nearest neighbour search of rvo agents.
More...
Quadtree for quick nearest neighbour search of rvo agents.
- See Also
- Pathfinding.RVO.Simulator
Removes all agents from the tree.
void DebugDrawRec |
( |
int |
i, |
|
|
Rect |
r |
|
) |
| |
|
private |
void Insert |
( |
Agent |
agent | ) |
|
Add a new agent to the tree.
- Warning
- Agents must not be added multiple times to the same tree
void Query |
( |
Vector2 |
p, |
|
|
float |
speed, |
|
|
float |
timeHorizon, |
|
|
float |
agentRadius, |
|
|
Agent |
agent |
|
) |
| |
The documentation for this class was generated from the following file:
- /Users/arong/Unity/a-pathfinding-project/Assets/AstarPathfindingProject/Core/RVO/RVOQuadtree.cs