Greetings,
As the title says, how can I get the side a sprite collides with another one? For example, I have an enumeration called "Direction" which includes north, south, west and east, a function shall return only one.
I am currently checking collision between two sprites via this code:
spritevar.getLocalBounds().intersects(spritevar2)
I am sorry for being so undescriptive. Thank you.