|
Kemena3D
|
Per-agent parameters passed to dtCrowd on creation. More...
#include <knavagent.h>
Public Attributes | |
| float | radius = 0.6f |
| Agent cylinder radius (m). | |
| float | height = 2.0f |
| Agent cylinder height (m). | |
| float | maxAcceleration = 8.0f |
| Maximum acceleration (m/s²). | |
| float | maxSpeed = 3.5f |
| Maximum speed (m/s). | |
| float | pathOptRange = 30.0f |
| float | separationWeight = 2.0f |
| bool | anticipateTurns = true |
| bool | optimizeVis = true |
| Optimise path visibility. | |
| bool | optimizeTopo = true |
| Optimise path topology. | |
| bool | obstacleAvoidance = true |
| Use local steering avoidance. | |
| bool | separation = false |
| Enable crowd separation. | |
Per-agent parameters passed to dtCrowd on creation.
Most values can be updated at runtime via kNavAgent setters.
| bool kemena::kNavAgentConfig::anticipateTurns = true |
If true the agent will be pushed away from neighbours.
| float kemena::kNavAgentConfig::height = 2.0f |
Agent cylinder height (m).
| float kemena::kNavAgentConfig::maxAcceleration = 8.0f |
Maximum acceleration (m/s²).
| float kemena::kNavAgentConfig::maxSpeed = 3.5f |
Maximum speed (m/s).
| bool kemena::kNavAgentConfig::obstacleAvoidance = true |
Use local steering avoidance.
| bool kemena::kNavAgentConfig::optimizeTopo = true |
Optimise path topology.
| bool kemena::kNavAgentConfig::optimizeVis = true |
Optimise path visibility.
| float kemena::kNavAgentConfig::pathOptRange = 30.0f |
How closely to follow the path before considering a waypoint reached.
| float kemena::kNavAgentConfig::radius = 0.6f |
Agent cylinder radius (m).
| bool kemena::kNavAgentConfig::separation = false |
Enable crowd separation.
| float kemena::kNavAgentConfig::separationWeight = 2.0f |
Separation weight when agents are adjacent. 0 = no separation.