[Flashcoders] Collision detection NOT using hitTest()

2007-02-23 Thread Jeff Fox
Hey gang, I have a map movie that needs to test whether two near objects will overlap one another BEFORE I actually instantiate and draw the movie clip, so I need a good object collision test that does not use hitTest(). I have a set of x and y and size properties for each object that I use to

Re: [Flashcoders] Collision detection NOT using hitTest()

2007-02-23 Thread T. Michael Keesey
Look into flash.geom.Rectangle, specifically the intersects(Rectangle) method. On 2/23/07, Jeff Fox [EMAIL PROTECTED] wrote: Hey gang, I have a map movie that needs to test whether two near objects will overlap one another BEFORE I actually instantiate and draw the movie clip, so I need a good