libgdx - removing the circle outline rendered on Box2d CircleShape
- by Brett
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?