Package: blackthorn

Function collide-all-p

Lambda List

collide-all-p (object offset)

Arguments

  • object -- An object.
  • position -- The offset of object.

Return Value

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

Details



Finds all collisions between object and neighboring objects. The list of neighboring objects to check is determined by finding the smallest subtree containing object whose root is not collidable (as determined by collidable-p).
 

See also