When you create a Farseer (or Box2D) edge Fixture
you write:
FixtureFactory.AttachEdge(start, end, bodyToAttachTheFixtureTo);
Which makes sense - you need start
and end
point to define an edge.
What bothers me is when you want to read the Fixture
. Assuming fixture
is the Fixture
we read:
((EdgeShape) fixture.Shape).Vertex1
((EdgeShape) fixture.Shape).Vertex2
Should be the only options. But we also get Vertex3
and Vertex4
. Why? What do they mean?