Hi guys. Just wondering if I can get the position that a collision takes place. Through my searches I've been unable to find if anyone can get it.
Just looking for something along the lines of this:
sf::vector2f GetCollisionPosition(BoundingBox box1, BoundingBox box2);
This would be useful for putting an animation at the point of contact. I'd also then be able to tell which boxes are hitting each other (unless I can already do this and am missing something).
I'm already able to detect if 2 skeletons intersect, but is there a way to pull out the position of that collision?
Thanks in advance. :yes:
EDIT: If you have an example for any runtime that would be helpful.