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

Resets the corridor to the specified position.

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 void Reset(
	NavmeshPoint position
)
Public Sub Reset ( _
	position As NavmeshPoint _
)
public:
void Reset(
	NavmeshPoint position
)

Parameters

position
NavmeshPoint
The position of the client.

Remarks

This method sets the position and target to the specified location, and reduces the corridor to the location's polygon. (Path size = 1)

This method does not perform any validation of the input data.

See Also