Tell me more ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

I'm trying to develop a game where I need to find the current vertices of a Polygon. When I try to get vertices using this method -- fixture.GetShape().GetVertices(), I get the original vertices and NOT the current vertices. Is there any workaround?

share|improve this question
Do you mean that you get the vertices in local space and want to transform to world space? – Mikael Högström Sep 1 '12 at 16:57
I found the answer. I was trying to explode bodies and for that I needed to get new points. I ended up using GetWorldPoint(). This is what I was trying to do. – Shekhar Sep 2 '12 at 17:08
Solution is here. stackoverflow.com/questions/12225599/… – Shekhar Sep 2 '12 at 17:18

closed as too localized by Tetrad Mar 12 at 4:57

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, see the FAQ.

Browse other questions tagged or ask your own question.