|
NavAI Documentation
|
Inherits ScriptableObject.
Public Member Functions | |
| void | ResetAgentSettings () |
| void | ResetAllSettings () |
| void | ResetDebugSettings () |
| void | ResetPathfindingSettings () |
| void | ResetRenderSettings () |
| void | ResetRvoSettings () |
The Settings file is used to configure zones and customize the output of the navigation algorithm. Multiple zones can share the same settings file, and a global settings file can be used as a preset for quick settings of all zones.
Directly setting the Settings variable is not recommended. Use the editor inspector to properly setup the settings variables.
To create a new settings file, use the Create option under the Project window, and select NavAI/New Settings File.
For more detailed information, read the AdvancedSettings documentation
|
strong |
|
strong |
Condition to render.
For more detailed information, read the AdvancedSettings documentation
|
strong |
| void NavAI.Settings.ResetAgentSettings | ( | ) |
Resets all agent settings to the default values.
For more detailed information, read the AdvancedSettings documentation
| void NavAI.Settings.ResetAllSettings | ( | ) |
Resets all settings to the default values.
For more detailed information, read the AdvancedSettings documentation
| void NavAI.Settings.ResetDebugSettings | ( | ) |
Resets all debug settings to the default values.
For more detailed information, read the AdvancedSettings documentation
| void NavAI.Settings.ResetPathfindingSettings | ( | ) |
Resets all pathfinding settings to the default values.
For more detailed information, read the AdvancedSettings documentation
| void NavAI.Settings.ResetRenderSettings | ( | ) |
Resets all render settings to the default values.
For more detailed information, read the AdvancedSettings documentation
| void NavAI.Settings.ResetRvoSettings | ( | ) |
Resets all collision avoidance settings to the default values.
For more detailed information, read the AdvancedSettings documentation
| float NavAI.Settings.agentAngularAcceleration |
Maximum agent angular acceleration.
For more detailed information, read the AdvancedSettings documentation
| int NavAI.Settings.agentAngularStability |
Angular stability array size.
For more detailed information, read the AdvancedSettings documentation
| Color NavAI.Settings.agentDrawColor |
Color to render the agents.
For more detailed information, read the AdvancedSettings documentation
| float NavAI.Settings.agentDrawHeight |
Height offset to render the agents.
For more detailed information, read the AdvancedSettings documentation
| AgentDrawMode NavAI.Settings.agentDrawMode |
Mode to render the agents.
For more detailed information, read the AdvancedSettings documentation
| float NavAI.Settings.agentIdleReturnDistance |
Distance in meters for agents to return to their idle position.
For more detailed information, read the AdvancedSettings documentation
| float NavAI.Settings.agentMaxRadius |
Maximum agent collision radius.
For more detailed information, read the AdvancedSettings documentation
| float NavAI.Settings.agentMaxSpeed |
Maximum agent movement speed.
For more detailed information, read the AdvancedSettings documentation
| RenderCondition NavAI.Settings.agentRenderCondition |
Condition to render the agents.
For more detailed information, read the AdvancedSettings documentation
| bool NavAI.Settings.agentReturnToIdle |
Toggles agents return to idle position behavior.
For more detailed information, read the AdvancedSettings documentation
| bool NavAI.Settings.debugLogErrors |
Toggles error messages.
For more detailed information, read the AdvancedSettings documentation
| bool NavAI.Settings.debugLogMessages |
Toggles informative messages.
For more detailed information, read the AdvancedSettings documentation
| bool NavAI.Settings.debugLogWarnings |
Toggles warning messages.
For more detailed information, read the AdvancedSettings documentation
| bool NavAI.Settings.debugMode |
Toggles debug messages.
For more detailed information, read the AdvancedSettings documentation
| bool NavAI.Settings.drawPaths |
Toggles drawing agent paths when rendering agents.
For more detailed information, read the AdvancedSettings documentation
| float NavAI.Settings.epsilon |
Epsilon value used internally.
For more detailed information, read the AdvancedSettings documentation
| Color NavAI.Settings.meshDrawColor |
Color to render the triangulation.
For more detailed information, read the AdvancedSettings documentation
| float NavAI.Settings.meshDrawHeight |
Height offset to render the triangulation.
For more detailed information, read the AdvancedSettings documentation
| TriangleDrawMode NavAI.Settings.meshDrawMode |
Mode to render the triangulation.
For more detailed information, read the AdvancedSettings documentation
| RenderCondition NavAI.Settings.meshRenderCondition |
Condition to render the triangulation.
For more detailed information, read the AdvancedSettings documentation
| Color NavAI.Settings.pathColor |
Color to render the agents paths.
For more detailed information, read the AdvancedSettings documentation
| float NavAI.Settings.pfAbandonTimer |
Time in seconds to abandon worsening paths.
For more detailed information, read the AdvancedSettings documentation
| bool NavAI.Settings.pfAbandonWorseningPaths |
Toggles abandonning of worsening paths.
For more detailed information, read the AdvancedSettings documentation
| int NavAI.Settings.pfAIFrequency |
Frequency in steps to take AI path decisions.
For more detailed information, read the AdvancedSettings documentation
| float NavAI.Settings.pfOccupiedGoalStopDistance |
Distance to stop from goal if occupied relative to collision radius.
For more detailed information, read the AdvancedSettings documentation
| float NavAI.Settings.pfRequiredClearance |
Path clearance requirement multiplier.
For more detailed information, read the AdvancedSettings documentation
| bool NavAI.Settings.pfSearchImpossibleClearances |
Toggles searching for paths with impossible clearances.
For more detailed information, read the AdvancedSettings documentation
| bool NavAI.Settings.pfSearchImpossiubleGoals |
Toggles searching for paths with impossible goals.
For more detailed information, read the AdvancedSettings documentation
| int NavAI.Settings.pfWorkerCount |
Number of worker threads to use for pathfinding.
For more detailed information, read the AdvancedSettings documentation
| bool NavAI.Settings.rvoAvoidancePriority |
Toggles use of collision avoidance priority.
For more detailed information, read the AdvancedSettings documentation
| bool NavAI.Settings.rvoFixedUpdate |
If true, then the objects will be updated during the FixedUpdate. If false, the update will occur during frame update.
For more detailed information, read the AdvancedSettings documentation
| float NavAI.Settings.rvoHighSpeed |
High speed percentage.
For more detailed information, read the AdvancedSettings documentation
| float NavAI.Settings.rvoHighSpeedTimer |
High speed timer.
For more detailed information, read the AdvancedSettings documentation
| bool NavAI.Settings.rvoIdlePriority |
Toggles use of idle priority.
For more detailed information, read the AdvancedSettings documentation
| float NavAI.Settings.rvoLowSpeed |
Low speed percentage.
For more detailed information, read the AdvancedSettings documentation
| float NavAI.Settings.rvoLowSpeedTimer |
Low speed timer.
For more detailed information, read the AdvancedSettings documentation
| int NavAI.Settings.rvoMaxPriorityPropagationDepth |
Maximuim propagation depth for unstuck priority.
For more detailed information, read the AdvancedSettings documentation
| float NavAI.Settings.rvoPriorityRadiusMultiplier |
Priority collision radius multiplier.
For more detailed information, read the AdvancedSettings documentation
| float NavAI.Settings.rvoPriorityRange |
Priority detection range relative to radius.
For more detailed information, read the AdvancedSettings documentation
| float NavAI.Settings.rvoSurroundBehaviorDuration |
Duration of the unmoving avoidance behavior.
For more detailed information, read the AdvancedSettings documentation
| float NavAI.Settings.rvoTimeHorizon |
Time horizon in secondsd to detect and avoid incoming collisions.
For more detailed information, read the AdvancedSettings documentation
| bool NavAI.Settings.rvoUnmovingAvoidance |
Toggles the unmoving avoidance algorithm.
For more detailed information, read the AdvancedSettings documentation
| bool NavAI.Settings.rvoUnstuckPriority |
Toggles use of unstuck priority.
For more detailed information, read the AdvancedSettings documentation
| int NavAI.Settings.rvoWorkerCount |
Number of workers threads to use for collision avoidance.
For more detailed information, read the AdvancedSettings documentation
| float NavAI.Settings.rvoZeroSpeed |
Zero speed percentage.
For more detailed information, read the AdvancedSettings documentation