문제

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

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top