Class SimulatorBurst Extends ISimulator
Local Avoidance Simulator.
This class handles local avoidance simulation for a number of agents using Reciprocal Velocity Obstacles (RVO) and Optimal Reciprocal Collision Avoidance (ORCA).
This class will handle calculation of velocities from desired velocities supplied by a script. It is, however, not responsible for moving any objects in a Unity Scene. For that there are other scripts (see below).
Agents be added and removed at any time.
You will most likely mostly use the wrapper class RVOSimulator.
A* Pro Feature:
This is an A* Pathfinding Project Pro feature only. This function/class/variable might not exist in the Free version of the A* Pathfinding Project or the functionality might be limited.
The Pro version can be bought here
Inner Types
Public Methods
Add an agent at the specified position.
Removes all agents from the simulation.
Get a list of all agents.
Get a list of all obstacles.
Frees all used memory.
Removes a specified agent from this simulation.
Create a new simulator.
Should be called once per frame.
Rebuilds the obstacle tree at next simulation frame.
Public Variables
Number of agents in the simulation.
True if at least one agent had debug drawing enabled during the previous frame.
Time in seconds between each simulation step.
Use hard collisions.
Bias agents to pass each other on the right side.
Determines if the XY (2D) or XZ (3D) plane is used for movement.
Internal cache for obstacle data.
Internal obstacle data.
Obstacles in this simulation.
Internal simulation data.
Quadtree for this simulation.
Internal simulation data.
Public Static Variables
Private/Protected Members
Agents in this simulation.
A copy of the the simulationData used when the calculations are running.
Inverse desired simulation fps.
Number of agents in this simulation.
Deprecated Members
Add an agent at the specified position.