Game Development Stack Exchange is a question and answer site for professional and independent game developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can I remove the outline on the CircleShape below?

CircleShape circle = new CircleShape();

This is what I'm using to draw:

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. 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?

share|improve this question
It sounds like you are using the DebugRenderer? Can you post your full code? – Chuck D Apr 9 '12 at 16:00
Instead of full code, just post the relevant parts. – Byte56 Apr 9 '12 at 16:02
Yes using DebugRenderer but thought can use debugDisable somwhere? – Brett Apr 9 '12 at 16:10
RubberMallet - nice one, was using the demo code example... this was the culprit.. debugRenderer.render(world, camera.combined); – Brett Apr 9 '12 at 16:18
@Brett you should mark that as an answer. – Tetrad Apr 9 '12 at 16:53

It sounds like you are using the DebugRenderer which would cause the outline.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.