Struct Agent Extends IAgent
Public Methods
Set the normal of a wall (or something else) the agent is currently colliding with.
Point towards which the agent should move.
Public Variables
Internal index of the agent.
Max number of estimated seconds to look into the future for collisions with agents.
True if the agent's movement is affected by any other agents or obstacles.
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 in the scene view.
Callback which will be called right the agent is removed from the simulation.
Determines how strongly this agent just follows the flow instead of making other agents avoid it.
Height of the agent in world units.
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 moves.
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.