Kemena3D
Loading...
Searching...
No Matches
kemena::kNavLink Struct Reference

Defines a traversable shortcut between two navmesh points. More...

#include <knavmesh.h>

Public Attributes

kVec3 start
 World-space start point.
kVec3 end
 World-space end point.
float radius = 0.6f
 Connection snap radius.
bool bidirectional = true
 If false, only start→end is walkable.

Detailed Description

Defines a traversable shortcut between two navmesh points.

Use this to represent ladders, jumps, teleporters, etc. Links are baked into the navmesh and can be one- or two-directional.

Member Data Documentation

◆ bidirectional

bool kemena::kNavLink::bidirectional = true

If false, only start→end is walkable.

◆ end

kVec3 kemena::kNavLink::end

World-space end point.

◆ radius

float kemena::kNavLink::radius = 0.6f

Connection snap radius.

◆ start

kVec3 kemena::kNavLink::start

World-space start point.


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