2018-09-14 17:40 回答问题
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);//