A downloadable tool

A couple of scripts that helps you optimize the non primitive 2D Colliders in Unity (Edge Collider 2D and Polygon Collider 2D). You can change the level of optimization in the Editor with direct feedback in the Scene View (see the GIFs) to find a suitable compromise between performance and good approximation of the sprite shape. Usually you can loose quite a bit of points with virtually no change in the polygon contour.

For the Edge Collider it should also be said that it creates a good edge collision shape for you which doesn't happen by default in Unity.

At this point you can also get the latest package from the Asset Store

StatusReleased
CategoryTool
Rating
Rated 5.0 out of 5 stars
(2 total ratings)
AuthorAlchem
Tagsphysics2d, tool, unity2d, unity3d

Download

Download
Collider2DOptimization.unitypackage 3.4 kB

Comments

Log in with itch.io to leave a comment.

THATS AMAZING!!

I highly recommend this package to anyone struggling with collider optimization in Unity. It’s a must-have for any 2D game developer looking to improve their game’s performance without sacrificing accuracy. Kudos to the developer for creating such a useful and well-designed package!