CLICK HERE TO COPY
Actionscript:
import com.actionsnippet.qbox.*;
import Box2D.Common.Math.*;
// try altering your frame rate
[SWF(backgroundColor=0x000000, width=700, height=600, frameRate=30)]
// try setting frim to false
var sim:QuickBox2D = new QuickBox2D(this, {iterations:20, timeStep:1 / 60, frim:true});
sim.setDefault({fillColor:0x003366, lineAlpha:0});
sim.createStageWalls();
sim.addBox({x:10, y:18, height:3, density:0});
sim.setDefault({fillColor:0x004466, lineColor:0x2B80F5});
var cVel:b2Vec2 = new b2Vec2();
for (var i:int = 0; i<32; i++){
var c:QuickObject = sim.addCircle({x:13 + i % 8, y:10 + int(i [...]