我怎样才能消除身体弹性? (andengine)

时间:2012-09-22 20:05:24

标签: andengine elasticity

我的角色的身体一直在弹跳。

body = PhysicsFactory.createCircleBody(mPhysicsWorld, this, BodyType.DynamicBody, PhysicsFactory.createFixtureDef(1, 1, 1));
mPhysicsWorld.registerPhysicsConnector(new PhysicsConnector(this, body, true, true));

我该如何防止这种情况?

1 个答案:

答案 0 :(得分:1)

替换为:PhysicsFactory.createFixtureDef(1, 0, 0),以便弹性为0.