Have you taken a look at the Actionscript 2D Physics Engines?  There are
a number available and most should be able to do what you require. 
There is a short review of each and link here :

http://henryjones.us/articles/actionscript-3-physics-engines
<http://henryjones.us/articles/actionscript-3-physics-engines>

Bill Lane

--- In [email protected], "jrag0n" <[EMAIL PROTECTED]> wrote:
>
> All the examples of AS3 collision detection I've seen assume you know
the names of the two
> objects that will be touching.  I want to write some code where new
objects can be placed on
> the stage and have a custom even that triggers when any of them touch
any other object on
> the stage.
>
> Is it possible to do dynamic collision detection for any number of
objects?  I could obviously
> maintain an array of all objects and constantly poll for every object,
but this seems really inefficient.
>
> Thanks,
> Jon
>

Reply via email to