A simple library for cutting arbitrary sprites and polygons across a line.
Includes test scenes for testing and as a demonstration on usage.
Features:
• Robust
• Handles concave simple polygons of any shape
• Ability to cut only portions of the polygon overlapping the cut line
• Cut thickness
• Handles sprite meshes, physics colliders, and joints between cut sprites.
• Static bodies with base points
Limitations:
• Does not support tightly packer or rotated texture atlases
• Uses the sprite's physics shapes, so the shapes should completely enclose the sprite to avoid strange results when cutting
• Static base points and joint anchors must be inside the sprite's polygon
Site: http://unity-assets.rf.gd/
Documentation: API Reference