Contents, API Reference, Interfaces, iCollisionInfo, getCollidingLine
iCollisionInfo::getCollidingLine()
Description
Returns coordinates for a line of contact.
Syntax
void getCollidingLine(tSigned32* coords) const; |
Parameters
| coords | | Must 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.