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.
New Update: Now includes a force convex mode (enabled by default) to ensure 100% compatibility with SpriteKit Physics Bodies, and also to reduce the points count - enjoy! :)
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)
Please enter any comments/suggestions below. Thanks.