Collision Object Functions

Return to Functions

ObjCol_IsIntersected

    Arguments:
        1) real: objectID
    Return Type:
        bool

Returns true if the specified object is currently intersecting with another object.

ObjCol_GetListOfIntersectedEnemyID

    Arguments:
        1) real: objectID
    Return Type:
        real

Returns an array of all enemy object IDs that the specified object is currently intersecting with.

ObjCol_GetIntersectedCount

    Arguments:
        1) real: objectID
    Return Type:
        real

Returns the number of times the specified object intersected with other objects during the previous frame.

For example, this can be used to determine how many player shots have collided with an enemy.