81 float jumpLength = 150.f;
84 float jumpDistanceFromEdge = 10.f;
87 float jumpMaxDepth = 150.f;
90 float jumpHeight = 50.f;
93 float jumpEndsHeightTolerance = 50.f;
97 float samplingSeparationFactor = 1.f;
101 float filterDistanceThreshold = 80.f;
107 float cachedParabolaConstant = 0;
110 float cachedDownRatio = 0;
113 unsigned long long linkUserId = 0;
116 unsigned short downDirPolyFlag = 0;
119 unsigned short upDirPolyFlag = 0;
122 unsigned char downDirArea = 0;
125 unsigned char upDirArea = 0;
#define UE_DEPRECATED(Version, Message)
Definition CoreMiscDefines.h:302
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
dtNavLinkBuilderFlags
Definition DetourNavLinkBuilderConfig.h:7
@ DT_NAVLINK_CREATE_CENTER_POINT_LINK
Definition DetourNavLinkBuilderConfig.h:8
@ DT_NAVLINK_CREATE_EXTREMITY_LINKS
Definition DetourNavLinkBuilderConfig.h:9
Definition DetourNavLinkBuilderConfig.h:14
float filterDistanceThreshold
Definition DetourNavLinkBuilderConfig.h:39
float samplingSeparationFactor
Definition DetourNavLinkBuilderConfig.h:35
static constexpr uint8 INVALID_CONFIG_INDEX
Unique index in TArray<dtNavLinkBuilderJumpConfig> identifying this config.
Definition DetourNavLinkBuilderConfig.h:66
unsigned long long linkUserId
User id used to handle links made from this configuration.
Definition DetourNavLinkBuilderConfig.h:51
NAVMESH_API void init()
Initialize the configuration by computing cached values.
Definition DetourNavLinkBuilderConfig.cpp:6
unsigned short upDirPolyFlag
User defined flags assigned to upwards traversal of the off-mesh connections.
Definition DetourNavLinkBuilderConfig.h:57
float jumpHeight
Peak height relative to the height of the starting point. [Limit: >= 0] [Units: wu].
Definition DetourNavLinkBuilderConfig.h:28
unsigned char upDirArea
User defined area id assigned to upwards traversal of the off-mesh connections.
Definition DetourNavLinkBuilderConfig.h:63
bool enabled
Should this config be used to generate links.
Definition DetourNavLinkBuilderConfig.h:16
float jumpDistanceFromEdge
How far from the edge is the jump started. [Limit: > 0] [Units: wu].
Definition DetourNavLinkBuilderConfig.h:22
float cachedDownRatio
Cached value used when computing jump trajectory.
Definition DetourNavLinkBuilderConfig.h:48
float jumpMaxDepth
How far below the starting height we want to look for landing ground. [Limit: > 0] [Units: wu].
Definition DetourNavLinkBuilderConfig.h:25
unsigned short downDirPolyFlag
User defined flags assigned to downwards traversal of the off-mesh connections.
Definition DetourNavLinkBuilderConfig.h:54
float jumpEndsHeightTolerance
Tolerance at both ends of the jump to find ground. [Limit: > 0] [Units: wu].
Definition DetourNavLinkBuilderConfig.h:31
float jumpLength
Horizontal length of the jump. How far from the starting point we will look for ground....
Definition DetourNavLinkBuilderConfig.h:19
uint8 ConfigIndex
Definition DetourNavLinkBuilderConfig.h:67
unsigned short linkBuilderFlags
Flags used to indicate how links will be added.
Definition DetourNavLinkBuilderConfig.h:42
unsigned char downDirArea
User defined area id assigned to downards traversal of the off-mesh connections.
Definition DetourNavLinkBuilderConfig.h:60
float cachedParabolaConstant
Cached parabola constant fitting the configuration parameters.
Definition DetourNavLinkBuilderConfig.h:45