I am trying to turn a polygon object in my tiled map into a physics body.
I can't figure out how to read the following line and turn it into 3 CGPoint values:
<polygon points="109,6 395,71 -142,69"/>
I am using JSTileMap to parse the TMX map but can't find anything in the documentation to do this.
Any help appreciated!