This project has moved. For the latest updates, please go here.

accessing the poligons of a body

Mar 4, 2011 at 7:29 PM

In farseer 3.2 how do i access the poligons of a body?

Mar 4, 2011 at 8:09 PM

A Fixture is a combination of a shape and a body. If you have the fixture, you have the body it holds and the shape it holds. You can get the shape by simply using Fixture.Shape, if you need the vertices of the shape (only works on polygon shapes) then you simply cast the shape to a PolygonShape first, and then access PolygonShape.Vertices.