I'm trying to tell whether a sprite is colliding with another sprite from the top, left, right or bottom. I thought I could it with a combination of the angle of movement and the size/position of the sprites (assuming they don't rotate).
It's a fairly involved calculation, so before I went too far down that route, is there a simple built in thing that can tell me the position where on a sprite a collision occurred?
Failing that, is there a way to get the angle of motion from a sprite immediately before a collision? Getting it on the collision returns 0
(which is technically correct and useless in this context).
Demo: https://drive.google.com/open?id=1pFre_1_kpMwmhPsk4iXKhXkoITL7qgAv