LUADOC - Farming Simulator 22

buildNavMesh

Description
Build the navigation mesh based on the specified world data
Definition
buildNavMesh(integer navMeshId, integer worldNode, float cellSize, float cellHeight, float agentHeight, float agentRadius, float agentMaxClimb, float agentMaxSlope, float minRegionSize, float mergeRegionSize, float maxEdgeLength, float maxSimplificationError, integer navMeshBuildMask, float terrainDetail, string terrainCullInfoLayer, integer terrainCullInfoLayerChannels)
Arguments
integernavMeshIdnavMeshId
integerworldNodeworldNode
floatcellSizecellSize
floatcellHeightcellHeight
floatagentHeightagentHeight
floatagentRadiusagentRadius
floatagentMaxClimbagentMaxClimb
floatagentMaxSlopeagentMaxSlope
floatminRegionSizeminRegionSize
floatmergeRegionSizemergeRegionSize
floatmaxEdgeLengthmaxEdgeLength
floatmaxSimplificationErrormaxSimplificationError
integernavMeshBuildMasknavMeshBuildMask
floatterrainDetailterrainDetail
stringterrainCullInfoLayerterrainCullInfoLayer
integerterrainCullInfoLayerChannelsterrainCullInfoLayerChannels
Return Values
booleansuccesssuccess