Hey there,
A ray cast can detect which body it intersects, This is great. but (in case the body is a polygon) what about the side of the body? Is there a way to figure out which side of the body the ray touches? I’d need to know the x and y positions of the two points that define the side.
I hope this is clear enough…
Thanks!