Photon Quantum 2.1.1

Properties | List of all members
Quantum.NavMeshAvoidanceAgent Struct Reference

(requires SteeringAgent and PathfinderAgent) More...

Inherits Quantum.IComponent.

Properties

byte AvoidanceLayer [get, set]
 Agent avoidance layer. More...
 
int AvoidanceMask [get, set]
 Agent avoidance mask. Agents with layers outside this mask are ignored. More...
 
byte Priority [get, set]
 The avoidance priority level. More...
 

Detailed Description

(requires SteeringAgent and PathfinderAgent)

Property Documentation

◆ AvoidanceMask

int Quantum.NavMeshAvoidanceAgent.AvoidanceMask
getset

Agent avoidance mask. Agents with layers outside this mask are ignored.

Is potentially set to its original config value NavMeshPathfinder.SetConfig(FrameBase, EntityRef, NavMeshAgentConfig, bool).

◆ AvoidanceLayer

byte Quantum.NavMeshAvoidanceAgent.AvoidanceLayer
getset

Agent avoidance layer.

Is potentially set to its original config value NavMeshPathfinder.SetConfig(FrameBase, EntityRef, NavMeshAgentConfig, bool).

◆ Priority

byte Quantum.NavMeshAvoidanceAgent.Priority
getset

The avoidance priority level.

Priority (in non-legacy/fast mode) is only compared and split 0.25 and 0.75 between agents (required by reciprocal avoidance).

Most important = 0

Least important = 99

Is potentially set to its original config value NavMeshPathfinder.SetConfig(FrameBase, EntityRef, NavMeshAgentConfig, bool).