Photon Quantum 2.1.9

Public Attributes | List of all members
Quantum.Navigation.Config Class Reference

Global navmesh configurations which are part of the SimulationConfig./> More...

Public Attributes

FP AvoidanceRange = 2
 Defines the distance between two agents (minus their combined radius) used to determine if they are considering each other for further avoidance calculations (broad phase). More...
 
AssetRefNavMeshAgentConfig DefaultNavMeshAgent
 The default navmesh agent config used by every agent that does not set an explicit one. More...
 
Boolean EnableAvoidance = true
 A global settings to remove all avoidance task scheduling (disable to optimize for performance). More...
 
Boolean EnableNavigationCallbacks = false
 Enabled navigation callbacks and signals. More...
 
FP HeightThresholdForAvoidance = FP._1
 Used in 3D to quickly filter out agents on other height levels. Should be around the height of the character. More...
 
FP HeightThresholdForWaypoints = FP._1
 Used in 3D to decide whether the actor and target are on the same height. Should be around the height of the character. More...
 
int MaxAvoidanceCandidates = 64
 A global setting for the maximum number of avoidance candidates used by each agent. More candidates requires more memory and CPU time but can increase the quality. More...
 
RawPathAllocationStrategy RawPathAllocationStrategy = RawPathAllocationStrategy.Fixed
 Strategy to execute when paths are attempted with more nodes than Config.RawPathSize. Fixed will fail pathfinding and Allocate will allocate more memory. Default is Fixed. More...
 
Int32 RawPathSize = 256
 The default size of the raw path generated by the pathfinder. More...
 
FP VelocityObstacleTruncationFactor = FP._1 + FP._0_10
 The default factor non-moving velocity obstacles are truncated with. More...
 

Detailed Description

Global navmesh configurations which are part of the SimulationConfig./>

Member Data Documentation

◆ DefaultNavMeshAgent

AssetRefNavMeshAgentConfig Quantum.Navigation.Config.DefaultNavMeshAgent

The default navmesh agent config used by every agent that does not set an explicit one.

◆ EnableNavigationCallbacks

Boolean Quantum.Navigation.Config.EnableNavigationCallbacks = false

Enabled navigation callbacks and signals.

Callbacks are always executed from the main thread.

◆ HeightThresholdForWaypoints

FP Quantum.Navigation.Config.HeightThresholdForWaypoints = FP._1

Used in 3D to decide whether the actor and target are on the same height. Should be around the height of the character.

◆ HeightThresholdForAvoidance

FP Quantum.Navigation.Config.HeightThresholdForAvoidance = FP._1

Used in 3D to quickly filter out agents on other height levels. Should be around the height of the character.

◆ RawPathSize

Int32 Quantum.Navigation.Config.RawPathSize = 256

The default size of the raw path generated by the pathfinder.

◆ RawPathAllocationStrategy

RawPathAllocationStrategy Quantum.Navigation.Config.RawPathAllocationStrategy = RawPathAllocationStrategy.Fixed

Strategy to execute when paths are attempted with more nodes than Config.RawPathSize. Fixed will fail pathfinding and Allocate will allocate more memory. Default is Fixed.

◆ EnableAvoidance

Boolean Quantum.Navigation.Config.EnableAvoidance = true

A global settings to remove all avoidance task scheduling (disable to optimize for performance).

◆ AvoidanceRange

FP Quantum.Navigation.Config.AvoidanceRange = 2

Defines the distance between two agents (minus their combined radius) used to determine if they are considering each other for further avoidance calculations (broad phase).

◆ MaxAvoidanceCandidates

int Quantum.Navigation.Config.MaxAvoidanceCandidates = 64

A global setting for the maximum number of avoidance candidates used by each agent. More candidates requires more memory and CPU time but can increase the quality.

◆ VelocityObstacleTruncationFactor

FP Quantum.Navigation.Config.VelocityObstacleTruncationFactor = FP._1 + FP._0_10

The default factor non-moving velocity obstacles are truncated with.