Package: blackthorn

Function collide-p

Lambda List

collide-p (object-1 object-2 position-1 position-2)

Arguments

  • object-1 -- An object.
  • object-2 -- An object.
  • position-1 -- The position of object-1.
  • position-2 -- The position of object-2.

Return Value

A list of collisions of the form (object-1 object-1 position-1 position-2).

Details



Checks for a collision between object-1 and object-2.