This project has moved and is read-only. For the latest updates, please go here.

Creation of Geometry using Vertices

Dec 1, 2009 at 8:23 PM

So I got the impression from the manual that you have to create a geom with vertices by going counterclockwise with the points. Is that true? I would hope you could go either way because then I could make my maps without having to worry about that. 

Dec 1, 2009 at 8:46 PM

Thats true. Farseer Physics uses counterclockwise vertices. You can use clockwise vertices because we check the order of the vertices and reverse them in case they are clockwise. This process is skipped if you give it the vertices counterclockwise.

Dec 1, 2009 at 8:50 PM

So it's best to give them counterclockwise for loading performance, it has no effect on actual gameplay. Hmm now I have to decide. I have this implemented by making objects through GLEED2D and it would just be easier to not have to pay attention to how I create collisions. Anyways, thanks for such a quick answer genbox!