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

Moves the position and target from their curent locations to the desired locations.

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 Move(
	Vector3 desiredPosition,
	Vector3 desiredTarget
)
Public Sub Move ( _
	desiredPosition As Vector3, _
	desiredTarget As Vector3 _
)
public:
void Move(
	Vector3 desiredPosition, 
	Vector3 desiredTarget
)

Parameters

desiredPosition
Vector3
The desired position.
desiredTarget
Vector3
The desired target.

Remarks

Performs an aggregrate operation in the following order:

  1. MoveTarget(Vector3)
  2. MovePosition(Vector3)

See the documentation of the related functions for details on behavior.

This method is more efficient than calling the other methods individually.

See Also