PathEngine home previous: iCollisionInfo::getCollidingAgent()next: Interface iContentChunk
Contents, API Reference, Interfaces, iCollisionInfo, getCollidingLine

iCollisionInfo::getCollidingLine()

Description

Returns coordinates for a line of contact.

Syntax

void getCollidingLine(tSigned32* coords) const;

Parameters

coordsMust point to an array large enough to hold four longs.

Remarks

Two dimensional coordinates for the line of contact for the collision are copied into coords, in the following order: startx, starty, endx, endy.

This line is guaranteed to cross the direction of travel from right to left.


Documentation for PathEngine release 5.18 - Copyright © 2002-2008 PathEnginenext: Interface iContentChunk