Class SimulatorBurst
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.
Add an agent at the specified position.
Removes all agents from the simulation.
Frees all used memory.
Removes a specified agent from this simulation.
Create a new simulator.
Should be called once per frame.
Public Variables
Number of agents in the simulation.
Time in seconds between each simulation step.
Use hard collisions.
Bias agents to pass each other on the right side.
Job handle for the last update.
Determines if the XY (2D) or XZ (3D) plane is used for movement.
Internal obstacle data.
Internal simulation data.
Quadtree for this simulation.
Internal simulation data.
Public Static Variables
Private/Protected Members
Scope for drawing gizmos even on frames during which the simulation is not running.
Inverse desired simulation fps.
Number of agents in this simulation.
Deprecated Members
Add an agent at the specified position.