Andreas I've ported your cloth to AS3 :) amazing :) http://www.franto.com/blog2/as3-cloth-simulation-verlet-algorithm
On 11/3/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > http://www.thesundancekid.net/code/pendel/index.html > http://www.thesundancekid.net/code/cloth/index.html > > fps is set too low (for some reason i can't remember now) which is why > the movement looks a bit jerky. > > unfortunately i don't have the fla:s here in london but i built the code > around a white paper from one of the coders who worked on the game > "Hitman". it was real easy to follow and if you just google for "verlet" > "hitman" and perhaps something else, i'm sure you can find it too. i > created a class around it in javascript a couple of years back and then > later converted that to flash. > > /andreas > > Corban Baxter wrote: > > Hey guys I am trying to create an effect as if a light bulb is swaying from > > a string in the ceiling. Anyone know what the best approach would be to do > > something like this? > > > > Corban Baxter | rich media designer | www.funimation.com > > > > > > _______________________________________________ > > Flashcoders mailing list > > [email protected] > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > > _______________________________________________ > Flashcoders mailing list > [email protected] > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > -- ----------------------------------------------------------------------------------------------------------------------------------------------------------------- Franto http://blog.franto.com http://www.flashcoders.sk _______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

