SpriteKit SKPhysicsBody Path Generator automatically create paths for your SpriteKit physics bodies with this free online tool.
Instructions: Drag and drop an image into the box below or click on the box to select an image from your computer. Adjust the settings as required, then click on the Recalculate button to see the effect of your changes.
Image:
Output:
Total Points:0
Note - using a higher number of raycasters will produce a more precise rendition of the image's shape.
Note - higher tolerance values will result in potentially fewer points, but also a less accurate polygon path.
(N.B. SpriteKit SKPhysicsBody paths must be convex)