Polygon Confusion just a simple poly example to clear up confusion shapevent forked:3favorite:1lines:22license : MIT License modified : 2010-03-08 02:36:43 Embed Tweet package { import flash.display.*; import com.actionsnippet.qbox.*; // just a simple poly example to clear up confusion public class FlashTest extends MovieClip { public function FlashTest() { // write as3 code here.. /* 0 / \ 0_0 0 | | 0-0 */ var sim:QuickBox2D = new QuickBox2D(this); sim.createStageWalls(); sim.addBox({x:5, y:5, width:3, height:0.25, density:0}); // define the contour of your poly // no limits as long as it doesn't cross over // itself sim.addPoly({x:10, y:5, points:[0.5,0, 1, 1, 1, 2, 0.5, 2, 0.5, 1, 0,1], wireframe:false}); sim.addCircle({x:11, y:10}); sim.start(); sim.mouseDrag(); } } } Code Fullscreen Preview Fullscreen hkm_lab : circles QuickBox2D circles height width start MovieClip sort new page view favorite forked pv204 forked from: Polygon Confusion.. LuisReyes forked:0 favorite:0lines:18 (diff:8) pv761 forked from: Polygon Confusion.. Altschuler forked:4 favorite:1lines:17 (diff:15) tag: circle pv381 forked from: Polygon Confusion.. syuta forked:0 favorite:0lines:20 (diff:2)