Quantum 3
3.0.9
A component to enable the steering toward a target position calculated by the navigation system. Requires NavMeshPathfinder component. More...
Static Public Member Functions | |
| static void | Serialize (void *p, FrameSerializer serializer) |
| Callback to serialize this component into a snapshot of the game state. More... | |
Static Public Attributes | |
| const int | SIZE = 40 |
| The component size in bytes. More... | |
Properties | |
| FP | Acceleration [get, set] |
| Agent acceleration value. More... | |
| readonly 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... | |
A component to enable the steering toward a target position calculated by the navigation system. Requires NavMeshPathfinder component.
|
inlinestatic |
Callback to serialize this component into a snapshot of the game state.
| p | The component pointer |
| serializer | The serializer |
|
static |
The component size in bytes.
|
getset |
Agent acceleration value.
Is potentially set to its original config value NavMeshPathfinder.SetConfig(FrameBase, EntityRef, NavMeshAgentConfig, bool).
|
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).
|
getset |
Agent max speed value.
Is potentially set to its original config value NavMeshPathfinder.SetConfig(FrameBase, EntityRef, NavMeshAgentConfig, bool).
|
getset |
The current linear velocity of the agents. This is set from the internal steering.