Eraser overlapping objects

Hey,

I'm doing something similar to flight path and Martian control. You can erase your line with an object similar to an eraser.I've seen how Martian control and flight path both have the plane following the line and erasing when collision. How can I make a draggable object to have collision with the line and erase over what has been over lapped? It is also difficult because the collision with two static bodies don't work. Is there an alternate way of doing this?

Thanks.

views:1004 update:2011/9/28 21:38:26
corona forums © 2003-2011