[This is preliminary documentation and is subject to change.]

Represents the closest any part of a mesh should get to an obstruction in the source geometry. [Limit: >=0] [Units: XZCellSize]

Namespace: org.critterai.nmgen
Assembly: cai-nmgen (in cai-nmgen.dll) Version: 0.4.0.0 (0.4.0.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
public int WalkableRadius { get; set; }
Public Property WalkableRadius As Integer
	Get
	Set
public:
property int WalkableRadius {
	int get ();
	void set (int value);
}

Remarks

Effects the size of the border around obstacles. Many path planners (including CAINav) treat agents as a point on the navigation mesh. So the navigation mesh needs to be eroded by the agent's radius so the planner won't plan a path that comes too close to obstructions, or passes through areas that are too thin for the agent to fit.

Start with a value of ceil(maxAgentRadius / XZCellSize). A value of zero is not recommended.

Value: Waklable Radius

See Also