NoJobEngine 2.0.7
Loading...
Searching...
No Matches
NoJob::NavAgentComponent Struct Reference

#include <Components.h>

Public Attributes

bool Enabled = true
float Speed = 3.5f
float StoppingDistance = 0.1f
glm::vec3 Destination { 0.0f }
bool HasDestination = false
float RepathInterval = 0.5f

Detailed Description

Definition at line 235 of file Components.h.

Member Data Documentation

◆ Destination

glm::vec3 NoJob::NavAgentComponent::Destination { 0.0f }

Definition at line 242 of file Components.h.

Referenced by NoJob::SceneSerializer::Load().

◆ Enabled

bool NoJob::NavAgentComponent::Enabled = true

Definition at line 237 of file Components.h.

Referenced by NoJob::SceneSerializer::Load(), and NoJob::SceneSerializer::Save().

◆ HasDestination

bool NoJob::NavAgentComponent::HasDestination = false

Definition at line 244 of file Components.h.

Referenced by NoJob::SceneSerializer::Load().

◆ RepathInterval

float NoJob::NavAgentComponent::RepathInterval = 0.5f

Definition at line 246 of file Components.h.

Referenced by NoJob::SceneSerializer::Load().

◆ Speed

float NoJob::NavAgentComponent::Speed = 3.5f

Definition at line 239 of file Components.h.

Referenced by NoJob::SceneSerializer::Load().

◆ StoppingDistance

float NoJob::NavAgentComponent::StoppingDistance = 0.1f

Definition at line 240 of file Components.h.

Referenced by NoJob::SceneSerializer::Load().


The documentation for this struct was generated from the following file: