Class RVOSquareObstacle Extends RVOObstacle

Public

Square Obstacle for RVO Simulation.

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 Variables

center

Center of the square.

Public
height

Height of the obstacle.

Public
size

Size of the square.

Public

Inherited Public Members

ObstacleVertexWinding

RVO Obstacle Modes.

Public
OnDisable ()

Disables the obstacle.

Public
OnDrawGizmos ()

Draws Gizmos.

Public
OnDrawGizmos (selected)

Draws Gizmos.

Public
OnDrawGizmosSelected ()

Draws Gizmos.

Public
OnEnable ()

Enabled the obstacle.

Public
Start ()

Creates obstacles.

Public
Update ()

Updates obstacle if required.

Public
layer
Public
obstacleMode

Mode of the obstacle.

Public

Private/Protected Members

AddObstacle (vertices, height)

Adds an obstacle with the specified vertices.

Protected
AreGizmosDirty ()

Called in the editor.

Protected
Awake ()
Protected
CreateObstacles ()

Create Obstacles.

Protected
ExecuteInEditor
Protected
FindSimulator ()

Finds a simulator in the scene.

Protected
GetMatrix ()

Get's the matrix to use for vertices.

Protected
Height
Protected
LocalCoordinates
Protected
OnUpgradeSerializedData (version, unityThread)

Handle serialization backwards compatibility.

Protected
Reset ()

Handle serialization backwards compatibility.

Protected
StaticObstacle
Protected
sim

Reference to simulator.

Protected