如何在不附加纹理

时间:2018-06-03 05:55:16

标签: libgdx

如何让此方法成为填充圆圈?现在它正在制作一个带有轮廓的透明圆形夹具。

        BodyDef bdef = new BodyDef();
        bdef.position.set(10/ Platformer.PPM,10/ Platformer.PPM);
        bdef.type = BodyDef.BodyType.DynamicBody;
        b2body = world.createBody(bdef);
        FixtureDef fdef = new FixtureDef();
        CircleShape shape = new CircleShape();
        shape.setRadius(10/ Platformer.PPM);

        fdef.shape = shape;
        b2body.createFixture(fdef);

0 个答案:

没有答案