Din
Din - 互动开发

性别: 上海 - 上海市 注册于 2018-07-11

向TA求助
199金币数
125 经验值
0个粉丝
主页被访问 578 次

最近动态

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);//