I have been looking for a good rope sim for a while now! I need it for a project that I'm working on. This one is GREAT! I think it might be what i need to make it happen.
Someone wanted a working version... the above code just needs a bit of tweakin to get it to render. Need to:
-= addEventListener(Event.ENTER_FRAME, updateSimulation, false, 0, true) to the constructor (or anywhere really)
-= change updateSimulation() to:
public function updateSimulation(e:Event):void
world.Step( timeStep, iterations );
-= create a .fla with this in the first frame:
import <point this to your copy of the "MobilePhysics">.MobilePhysics
var oSprite:Sprite = new Sprite()
oSprite.x = 100
var mobileTest = new MobilePhysics(oSprite)
Hope this helps!
Thanks for all the great work you guys/gals are doing.