GetCollision

const Poly &other,
const Placement &thisPlacement,
const Placement &otherPlacement )

Checks for a collision and returns detailed information about the collision.

See Collision for more information.

Other functions of the class Poly
Add
Adds a vertex to the polygon
GetVertex
Returns the specified vertex
GetNumberOfVertices
Returns the number of vertices in the polygon
Draw
Draws a filled polygon.
DrawOutline
Draws an outline of the polygon
Collides
Tests if two polygons collide
GetCollision
Checks for a collision and returns detailed information about the collision
GetVertices
Returns the list of the vertices in the polygon
SetPivot
Sets the rotation pivot
GetPivot
Returns the the rotation pivot
SetOutlineTexture
Sets the texture of the outline of the polygon


Questions about GetCollision? Click here.