PathEngine home previous: iAgent::isMoveable()next: iAgent::setTraverseCost()
Contents, API Reference, Interfaces, iAgent, moveTo

iAgent::moveTo()

Description

Move the agent to a specified position, without any collision checking.

Syntax

void moveTo(const cPosition& newPosition);

Parameters

newPosition The position to move this agent to.

Remarks

Must not be called for non-moveable agents.
Documentation for PathEngine release 5.17 - Copyright © 2002-2008 PathEnginenext: iAgent::setTraverseCost()