PathEngine home previous: iAgent::isMoveable()next: iAgent::refMesh()
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.

C# Mapping

void moveTo(PathEngine.Position newPosition);

Java Mapping

void moveTo(Position newPosition);

Documentation for PathEngine release 6.00 - Copyright © 2002-2016 PathEnginenext: iAgent::refMesh()