libgdx - removing the circle outline rendered on Box2d CircleShape

Posted by Brett on Game Development See other posts from Game Development or by Brett
Published on 2012-04-09T15:47:25Z Indexed on 2012/04/09 17:50 UTC
Read the original article Hit count: 355

Filed under:

How can I remove the outline on the circleshape below..

CircleShape circle = new CircleShape(); circle.setRadius(1f); ... using ... batch.draw(textureRegion, position.x - 1, position.y - 1, 1f, 1f, 2, 2, 1, 1, angle);

I use this to set the body for a Box2d collision but I get a silly circle shape around my texture in libGdx, i.e. my textured sprite (ball) has a circle over the top of it with a line running from center along the radius.

Any ideas on how to remove the overlying circle lines?

© Game Development or respective owner

Related posts about libgdx