CLICK HERE TO COPY
Actionscript:
import com.actionsnippet.qbox.*;
import Box2D.Common.Math.*;
[SWF(width = 800, height = 600, backgroundColor = 0x222222, frameRate=60)]
var sim:QuickBox2D = new QuickBox2D(this, {debug:false});
sim.createStageWalls();
var cup:QuickObject = sim.addPoly({x:3, y:13, wireframe:false, density:0,
points:[0,0, .5, 0, .5,3, 2,3, 2,0, 2.5,0, 2.5, 3.5, 0, 3.5, 0,0]});
var [...]