private initP2world() { din.SiteUtil.trace("initP2world");this.p2world = new p2.World({gravity: [0, -20] }); // Create bottom planevar planeShape = new p2.Plane();var planeBody = new p2.Body({position: [0, 0] });planeBody.addShape(planeShape);// this.p2world.addBody(planeBody); // Left p...
回答于 2018-09-14 17:40