Grindstone Game Engine v0.2.0
An open source game engine and toolkit.
Loading...
Searching...
No Matches
Grindstone::Ai::NavAgentComponent Struct Reference

Public Member Functions

bool SetTarget (entt::entity entityHandle, glm::vec3 endPosition)
const dtNavMeshQuery * GetNavMeshQuery () const
const NavMeshLocomotionData GetLocomotionData () const

Public Attributes

NavAgentTypeId typeId
float baseOffset
float movementSpeed
float angularSpeed
float acceleration
float stoppingDistance
bool autoBraking
float obstacleAvoidanceRadius
float obstacleAvoidanceHeight
float obstacleAvoidanceQuality
float obstacleAvoidancePriority
bool autoTraverseOffMesh
bool autoRepath
NavAreaId areaMask
glm::vec3 destination

Static Public Attributes

static const int MAX_POLYS = 256

Protected Attributes

dtNavMeshQuery * navMeshQuery = nullptr
NavMeshLocomotionData locomotionData
dtPolyRef pathPolys [MAX_POLYS]
int usedPolyCount = 0

The documentation for this struct was generated from the following files:
  • /github/workspace/plugins/Grindstone.Ai.NavMesh/include/Components/NavAgentComponent.hpp
  • /github/workspace/plugins/Grindstone.Ai.NavMesh/source/Components/NavAgentComponent.cpp