Module |
|
Header |
/Engine/Source/Runtime/Navmesh/Public/Detour/DetourNavMesh.h |
Include |
#include "Detour/DetourNavMesh.h" |
struct dtOffMeshConnection
Defines an navigation mesh off-mesh connection within a dtMeshTile object. An off-mesh connection is a user defined traversable connection made up to two vertices.
Name | Description | ||
---|---|---|---|
|
unsigned char |
flags |
Link flags. |
|
float |
height |
The snap height of endpoints (less than 0 = use step height) |
|
unsigned short |
poly |
The polygon reference of the connection within the tile. |
|
float[6] |
pos |
The endpoints of the connection. [(ax, ay, az, bx, by, bz)]. |
|
float |
rad |
The radius of the endpoints. [Limit: >= 0]. |
|
unsigned char |
side |
End point side. |
|
unsigned int |
userId |
The id of the offmesh connection. (User assigned when the navigation mesh is built.) |
Name | Description | ||
---|---|---|---|
|
getBiDirectional() |
Gets the link direction. |
|
|
getSnapToCheapestArea() |
Gets the link snap mode. |
|
|
setFlags ( |
Sets link flags. |