I was also thinking about doing it by simply returning the normal angle, since it's 2D, you'll have everything you need with it. And some commands to retrieve the normalized X and Y from the angle. This way though, I think I would have to make a different function, since if the collision normal is 0deg, it would return 0, which would be false :/
Unless I always add 360 degrees to the angle. And return 0 when something doesn't collide.
Unless I always add 360 degrees to the angle. And return 0 when something doesn't collide.