Contains settings used by NavGen and Offline Processor for the generation of navigation meshes.
The location and name of this file are determined by the value of editor/girthSettings in resources.xml, which defaults to helpers/girths.xml.
Mentioned in document Content Tools Reference Guide's sections Offline Processor and NavGen, and Server Programming Guide's section Configuring Girth Information for Navmesh Generation.
The grammar for girths.xml
is described
below:
<root> +<girth>float
?<always> </always> ?<width>float
</width> ?<height>float
</height> ?<depth>float
</depth> ?<maxSlope>float
</maxSlope> ?<maxClimb>float
</maxClimb> </girth> </root>
Grammar of girths.xml
The list below describes the tags in girths.xml:
-
always (section girth)
Determines if this girth should always be included into waypoint. If set to false, it is up to the marker to determine whether to include a girth.
-
depth (section girth)
Depth of the entity for which to generate navigation mesh.
-
girth
Tag for section defining entity girth for which to generate navigation mesh. Default is 0.5.
-
height (section girth)
Height of the entity for which to generate navigation mesh.
-
maxClimb (section girth)
The largest climb distance in a single step. Default is 0.65.
This value is only used by Recast.
For more details, see the document Content Tools Reference Guide's chapter Offline Processor.
-
maxSlope (section girth)
The steepest walkable slope in degrees. Default is 45.
This value is only used by Recast.
For more details, see the document Content Tools Reference Guide's chapter Offline Processor.
-
width (section girth)
Width of the entity for which to generate navigation mesh.