GetSegment

CollidingObject objectID )

Returns the specified colliding line segment. ObjectID should be either one of these:
- OBJ_A: The first colliding object
- OBJ_B: The second colliding object

Other functions of the class Collision
GetPoint
Returns the exact point of the collision
GetSegment
Returns the specified colliding line segment
IsCollision
Returns true if a collision has really happened
GetNormal
Returns the normal of a colliding object at the collision point
GetAllPoints
Returns all collision points
GetAllSegments
Returns all pairs of colliding segments


Questions about GetSegment? Click here.