Antkeeper  0.0.1
Public Attributes | List of all members
navmesh_agent_component Struct Reference

#include <navmesh-agent-component.hpp>

Public Attributes

entity::id navmesh_eid {entt::null}
 Entity ID of the navmesh. More...
 
geom::brep_meshmesh {}
 Pointer to the current mesh through which the agent is navigating. More...
 
geom::brep_faceface {}
 Pointer to the current mesh face on which the agent is located. More...
 
math::fvec3 surface_normal {}
 Smooth interpolated surface normal at the agent position. More...
 

Detailed Description

Definition at line 30 of file navmesh-agent-component.hpp.

Member Data Documentation

◆ face

geom::brep_face* navmesh_agent_component::face {}

Pointer to the current mesh face on which the agent is located.

Definition at line 39 of file navmesh-agent-component.hpp.

◆ mesh

geom::brep_mesh* navmesh_agent_component::mesh {}

Pointer to the current mesh through which the agent is navigating.

Definition at line 36 of file navmesh-agent-component.hpp.

◆ navmesh_eid

entity::id navmesh_agent_component::navmesh_eid {entt::null}

Entity ID of the navmesh.

Definition at line 33 of file navmesh-agent-component.hpp.

◆ surface_normal

math::fvec3 navmesh_agent_component::surface_normal {}

Smooth interpolated surface normal at the agent position.

Definition at line 42 of file navmesh-agent-component.hpp.


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