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

Adjusts the position of an agent's target.

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 AdjustMoveTarget(
	NavmeshPoint position
)
Public Function AdjustMoveTarget ( _
	position As NavmeshPoint _
) As Boolean
public:
bool AdjustMoveTarget(
	NavmeshPoint position
)

Parameters

position
NavmeshPoint
The new target position.

Return Value

True if the adjustment was successful.

Remarks

This method is used to make small local adjustments to the target. (Such as happens when following a moving target.) Use RequestMoveTarget(NavmeshPoint) when a new target is needed.

See Also