Jaconir
Game Dev Tools

Polygon Collider Simplifier

Drag and drop your sprite. We'll trace the outline and give you an optimized collision polygon for Godot or Unity, reducing vertex count by up to 90%.

Upload Sprite
0 Points

Higher values remove more points, making the shape simpler but less accurate.


Collider Preview

Polygon
Vertices

No Image Selected

Upload a sprite to visualize its simplified collision mesh.

Why Optimize Colliders?

Accurate collisions are crucial, but complex polygons with hundreds of vertices can destroy your game's performance. Physics engines (like Box2D in Godot/Unity) verify collisions against every single edge of a polygon.

Often, an auto-generated mesh has details you don't need (like pixel-perfect hair strands or bumpy surfaces). This tool smoothens those out into an efficient, convex-friendly shape.

FAQ

How do I use this in Godot?

Copy the 'PoolVector2Array' format and paste it directly into your CollisionPolygon2D resource file, or parse it via code.

What does tolerance do?

Tolerance is the epsilon value for the Ramer-Douglas-Peucker algorithm. It determines the maximum distance a point can be from the simplified line before it is preserved.

Is this safe for convex shapes?

The algorithm preserves corners but removes straight lines. For convex decomposition (breaking concave into convex), you rely on the engine import settings, but providing a cleaner source polygon always helps.