【发布时间】:2012-05-03 13:18:18
【问题描述】:
我可以创建矩形来创建墙,例如:
final Rectangle wall = new Rectangle(CAMERA_WIDTH-2, 0, 2, CAMERA_HEIGHT -2);
PhysicsFactory.createBoxBody(this.physicsWorld, wall, BodyType.StaticBody, FIXTURE_DEF);
scene.attachChild(wall);
但我想创建圈子?例如 ball.it 应该是 box2d 的主体,如上。
【问题讨论】:
标签: android box2d andengine game-physics