Pixel perfect collision in Unity 2D

I'm going to give a short overview of how pixel perfect collision works, and how I implemented it in Unity using C#. The source files and usage are at the bottom. Overview: Pixel perfect collision assumes that sprites are never rotated. 1. Start with checking if the two rectangles of the sprites are colliding, if … Continue reading Pixel perfect collision in Unity 2D

Advertisements