Do you know kinda where to start... I'm trying to figure out how I would program the awareness of the elements.
There must be some kind of idle position, and every element needs to know where the mouse cursor is and to know in wich direction to move, and know how big it needs to be according to the mouseposition, and how much space there is inside his 'zone', etc. etc. pfoe -----Original Message----- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Steve Mathews Sent: Thursday, 12 February 2009 16:50 To: Flash Coders List Subject: Re: [Flashcoders] Advanced Rollover Physics/Math... You could probably pull this off with a physics engine. You could probably do it without also as a entire engine could be overkill. On Thu, Feb 12, 2009 at 6:03 AM, Sander Schuurman < sander.schuur...@oswaldandruby.com> wrote: > Hi cool list... > > I'm trying to create a subtle/smooth rollover animation of elements that > react (scale) to the mouse position, and are aware of each other, so they > move out of the way for each other instead of overlapping. > > I came across this subject a couple of times on the internet, but I can't > find it with google anymore. > > The following image explains the simple subject: > http://img209.imageshack.us/img209/7434/testuu7.gif > > The following image explains more what I want design-wise: > http://img165.imageshack.us/img165/5407/test2ec9.gif > > Somebody who can point me in the right direction? > > Can I do this with a physics-engine? Without gravity, but with the > awareness of the other elements? > > How would you do it? > > Thanks! > _______________________________________________ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders