[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[pygame] know from where two sprites have collided



Title:
I am wondering if someone has a fast algo to know from where two sprites have collided. I mean know if it was from the top,left,bottom or up in a collision. I am now using the los code from the repository that i have modified but I don't think it is the faster way of doing it. please post your ideas.