似乎当我为我的对象设置更大的半径时,我对它们施加的力就不那么有效了。box2d 会计算物体的大小来计算力吗?
这是我创建 circleShape 时的代码:
this._shape = new CircleShape();
this._shape.setRadius(this._box2d.scalarPixelsToWorld(radius));
this._fixture = new FixtureDef();
this._fixture.shape = this.getShape();
this._fixture.density = 1;
this._fixture.friction = 0.3f;
this._fixture.restitution = 0f;
this._body.createFixture(this._fixture);
半径越大,物体上的力越小。我可以禁用这个吗?