OpenLayer
|
Collision
|
GetSegment
GetSegment
Line
GetSegment
(
CollidingObject objectID )
Returns the specified colliding line segment. ObjectID should be either 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
Back to the main page of the manual
Questions about GetSegment? Click
here.