Class RVOSimulator Extends VersionedMonoBehaviour

Public

Unity front end for an RVO simulator.

Attached to any GameObject in a scene, scripts such as the RVOController will use the simulator exposed by this class to handle their movement. In pretty much all cases you should only have a single RVOSimulator in the scene.

You can have more than one of these, however most scripts which make use of the RVOSimulator will use the active property which just returns the first simulator in the scene.

This is only a wrapper class for a Pathfinding.RVO.Simulator which simplifies exposing it for a unity scene.

See

Pathfinding.RVO.Simulator

Local Avoidance

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

Public Methods

DrawGizmos ()
Public
GetSimulator ()

Get the internal simulator.

Public

Public Variables

burst
Public Readonly
desiredSimulationFPS

Desired FPS for rvo simulation.

Public
doubleBuffering

Calculate local avoidance in between frames.

Public
drawObstacles

Draw obstacle gizmos to aid with debugging.

Public
hardCollisions

Prevent agent overlap more aggressively.

Public
movementPlane

Determines if the XY (2D) or XZ (3D) plane is used for movement.

Public
symmetryBreakingBias
Public
workerThreads

Number of RVO worker threads.

Public

Public Static Variables

active

First RVOSimulator in the scene (usually there is only one)

Public Static

Private/Protected Members

Awake ()
Protected
OnDestroy ()
Private
OnEnable ()
Private
OnUpgradeSerializedData (version, unityThread)

Handle serialization backwards compatibility.

Protected
Reset ()

Handle serialization backwards compatibility.

Protected
Update ()

Update the simulation.

Private
simulatorBurst

Reference to the internal simulator.

Private