This project has moved and is read-only. For the latest updates, please go here.

Find out number of overlapping shapes

Jul 26, 2011 at 7:39 AM
Edited Jul 26, 2011 at 1:47 PM

Hi all,

I'm trying to make an editor where the player gets to draw shapes on a canvas. When a shape has been drawn (added to the world), how can I find out how many other shapes it is in contact with?

Bear in mind that the shapes start life in a static world (all shapes are set as sensors?) and are able to overlap each other.

Many thanks,