Hello,
I'm using SFML, and I found this code for collision detection in SFML: https://github.com/LaurentGomila/SFML/wiki/SourceSimpleCollisionDetection
It works fine, but it doesn't tell me which side my objects are hitting (I only need to use the bounding box method). It'd be great if someone could give me an addition to the code that would tell me which side of Object1 is colliding with Object2, or vice versa.
The problem with building off of this code is that it is designed to be used with sprites that are able to rotate\change their orientation on the screen. Because of this the origional author does some pretty interesting math to simplify\translate the pixel coordinates. So it's just too much of a PITA to continue to use this code and determine what side hit what between the objects.