class-description NEWS COMMUNITY STORE TUTORIALS SIGN UP LOGIN LOGOUT ROKOJORI NEWSLETTER SIGN UP LOGIN LOGOUT NEWS COMMUNITY STORE TUTORIALS TOGGLE FULLSCREEN VOLLBILD AN/AUS ObjectRefCounted NavigationPathQueryParameters3D
Provides parameters for 3D navigation path queries.

By changing various properties of this object, such as the start and target position, you can configure path queries to the NavigationServer3D.

Enum PathfindingAlgorithm<>():Enum

PATHFINDING_ALGORITHM_ASTAR = 0

The path query uses the default A* pathfinding algorithm.

Enum PathPostProcessing<>():Enum

PATH_POSTPROCESSING_CORRIDORFUNNEL = 0

Applies a funnel algorithm to the raw path corridor found by the pathfinding algorithm. This will result in the shortest path possible inside the path corridor. This postprocessing very much depends on the navigation mesh polygon layout and the created corridor. Especially tile- or gridbased layouts can face artificial corners with diagonal movement due to a jagged path corridor imposed by the cell shapes.


PATH_POSTPROCESSING_EDGECENTERED = 1

Centers every path position in the middle of the traveled navigation mesh polygon edge. This creates better paths for tile- or gridbased layouts that restrict the movement to the cells center.

Enum PathMetadataFlags<>():Enum

PATH_METADATA_INCLUDE_NONE = 0

Don't include any additional metadata about the returned path.


PATH_METADATA_INCLUDE_TYPES = 1

Include the type of navigation primitive (region or link) that each point of the path goes through.


PATH_METADATA_INCLUDE_RIDS = 2

Include the RIDs of the regions and links that each point of the path goes through.


PATH_METADATA_INCLUDE_OWNERS = 4

Include the ObjectIDs of the Objects which manage the regions and links each point of the path goes through.


PATH_METADATA_INCLUDE_ALL = 7

Include all available metadata about the returned path.

RID map<>():RID

The navigation map RID used in the path query.

BitField PathMetadataFlags<>():BitField

Additional information to include with the navigation path.

int navigation_layers<>():int

The navigation layers the query will use (as a bitmask).

PathPostProcessing path_postprocessing<>():PathPostProcessing

The path postprocessing applied to the raw path corridor found by the pathfinding_algorithm.

PathfindingAlgorithm pathfinding_algorithm<>():PathfindingAlgorithm

The pathfinding algorithm used in the path query.

Vector3 start_position<>():Vector3

The pathfinding start position in global coordinates.

Vector3 target_position<>():Vector3

The pathfinding target position in global coordinates.




All social media brands are registrated trademarks and belong to their respective owners.





CONTACT IMPRINT TERMS OF USE PRIVACY © ROKOROJI ® 2021 rokojori.com
CONTACT IMPRINT TERMS OF USE PRIVACY © ROKOROJI ® 2021 rokojori.com
We are using cookies on this site. Read more... Wir benutzen Cookies auf dieser Seite. Mehr lesen...