我的角色的身体一直在弹跳。
body = PhysicsFactory.createCircleBody(mPhysicsWorld, this, BodyType.DynamicBody, PhysicsFactory.createFixtureDef(1, 1, 1));
mPhysicsWorld.registerPhysicsConnector(new PhysicsConnector(this, body, true, true));
我该如何防止这种情况?
答案 0 :(得分:1)
替换为:PhysicsFactory.createFixtureDef(1, 0, 0)
,以便弹性为0.