DotRecastNetSim/src/DotRecast.Recast.DemoTool/RcNavMeshBuildSettings.cs

35 lines
1022 B
C#
Raw Normal View History

namespace DotRecast.Recast.DemoTool
{
2023-07-31 09:40:26 +03:00
public class RcNavMeshBuildSettings
{
public float cellSize = 0.3f;
public float cellHeight = 0.2f;
public float agentHeight = 2.0f;
public float agentRadius = 0.6f;
public float agentMaxClimb = 0.9f;
public float agentMaxSlope = 45f;
public float agentMaxAcceleration = 8.0f;
public float agentMaxSpeed = 3.5f;
public int minRegionSize = 8;
public int mergedRegionSize = 20;
2023-07-28 14:43:50 +03:00
public int partitioning = RcPartitionType.WATERSHED.Value;
public bool filterLowHangingObstacles = true;
public bool filterLedgeSpans = true;
public bool filterWalkableLowHeightSpans = true;
public float edgeMaxLen = 12f;
public float edgeMaxError = 1.3f;
public int vertsPerPoly = 6;
public float detailSampleDist = 6f;
public float detailSampleMaxError = 1f;
public bool tiled = false;
public int tileSize = 32;
}
}