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

The maximum slope that is considered walkable. [Limits: 0 <= value <= MaxAllowedSlope] [Units: Degrees]

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 float WalkableSlope { get; set; }
Public Property WalkableSlope As Single
	Get
	Set
public:
property float WalkableSlope {
	float get ();
	void set (float value);
}

Remarks

This parameter is used early in the build process to filter out source triangles that have a high slope. The choice of the value is entirely dependant on the maximum slope the agent's locomotion can handle. A good value to start with is slightly over 45 degrees.

See Also