0

I think it is very simple to do but somehow I cannot find the way to do it. I want to draw selected fixtures and I don't really know if they should be filled or not - there is nothing like Fixture.IsSolid or Shape.IsSolid.

I actually do it in Farseer, but it is only Box2D for C# actually.

EDIT: I've checked Farseer examples for this and it seems they just assume all are solids. They certainly do not have to be..

Michał
  • 2,202
  • 2
  • 17
  • 33
  • If your fixture is filled with the background color, is it solid or empty? What fill color would represent solid? Is a fixture filled with a pattern considered solid? – Thomas Matthews Apr 03 '14 at 19:16
  • 2
    I don't know much about Farseer, but in Box2D polygons and circle shapes will always be solid, while chain and edge shapes are not solid. – iforce2d Apr 04 '14 at 08:03
  • @iforce2d Thank you for this information. Please post it as an answer so I can accept it. – Michał Apr 05 '14 at 10:56

1 Answers1

1

I don't know much about Farseer, but in Box2D polygons and circle shapes will always be solid, while chain and edge shapes are not solid.

iforce2d
  • 8,194
  • 3
  • 29
  • 40