Photon Quantum 2.1.1

Properties | List of all members
Quantum.NavMeshSteeringAgent Struct Reference

Requires NavMeshPathfinder component. More...

Inherits Quantum.IComponent.

Properties

FP Acceleration [get, set]
 Agent acceleration value. More...
 
FP CurrentSpeed [get]
 The current speed per second that the agent is moving. More...
 
FP MaxSpeed [get, set]
 Agent max speed value. More...
 
FPVector2 Velocity [get, set]
 The current linear velocity of the agents. This is set from the internal steering. More...
 

Detailed Description

Requires NavMeshPathfinder component.

Property Documentation

◆ Acceleration

FP Quantum.NavMeshSteeringAgent.Acceleration
getset

Agent acceleration value.

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

◆ CurrentSpeed

FP Quantum.NavMeshSteeringAgent.CurrentSpeed
get

The current speed per second that the agent is moving.

Performs FPMath.Sqrt or the Velocity internally.

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

◆ MaxSpeed

FP Quantum.NavMeshSteeringAgent.MaxSpeed
getset

Agent max speed value.

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

◆ Velocity

FPVector2 Quantum.NavMeshSteeringAgent.Velocity
getset

The current linear velocity of the agents. This is set from the internal steering.