Class Agent Extends IAgent
Internal agent for the RVO system.
Usually you will interface with the IAgent interface instead.
See
Inner Types
Public Methods
Reads public properties and stores them in internal fields.
Populate the neighbours and neighbourDists lists with the closest agents to this agent.
Set the current velocity of the agent.
Set the normal of a wall (or something else) the agent is currently colliding with.
Set the plane in which the agent should move.
Point towards which the agent should move.
Public Variables
Max number of estimated seconds to look into the future for collisions with agents.
Optimal speed of the agent to avoid collisions.
Optimal point to move towards to avoid collisions.
Layer mask specifying which layers this agent will avoid.
Draw debug information.
Height of the agent in world units.
Offset of the agent position along the up direction.
Specifies the avoidance layer for this agent.
Locked agents will be assumed not to move.
Max number of agents to take into account.
Plane in which the agent is moving.
Number of neighbours that the agent took into account during the last simulation step.
Max number of estimated seconds to look into the future for collisions with obstacles.
Position of the agent.
Callback which will be called right before avoidance calculations are started.
How strongly other agents will avoid this agent.
Radius of the agent in world units.
Private/Protected Members
Bias towards the right side of agents.
Desired target point - position.
Evaluate gradient and value of the cost function at velocity p.
(x, 0, y)
Used by the Quadtree.
Used internally for a linked list.
Square a number.
Converts a 3D vector to a 2D vector in the movement plane.
(x, z)
Traces the vector field constructed out of the velocity obstacles.
Extra weight that walls will have.