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

Sets the shared avoidance configuration for a specified index.

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

Syntax

         
 C#  Visual Basic  Visual C++ 
public bool SetAvoidanceConfig(
	int index,
	CrowdAvoidanceParams config
)
Public Function SetAvoidanceConfig ( _
	index As Integer, _
	config As CrowdAvoidanceParams _
) As Boolean
public:
bool SetAvoidanceConfig(
	int index, 
	CrowdAvoidanceParams^ config
)

Parameters

index
Int32
The index. [Limits: 0 <= value < MaxAvoidanceParams].
config
CrowdAvoidanceParams
The avoidance configuration.

Return Value

True if the configuration is successfully set.

Remarks

Multiple avoidance configurations can be set for the manager with agents assigned to different avoidance behaviors via the CrowdAgentParams object.

See Also