Collisions within a Polygon
in
Programming Questions
•
2 years ago
I need to calculate collisions between moving spheres within a polygon and the edges of the polygon.
Does anyone have a snippet to share?
I have no problem determining if I'm inside the poly it's more about getting the collisions to be right when they hit an edge with respect to return angle, velocity, friction, etc. etc.
I'm sure it's been done. Would love to save some late night hours for more creative coding.
Thanks!
Rob
1