Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

finding which side of a polygon a casted ray intersects

edited March 2014 in Questions Posts: 277

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... :)



Sign In or Register to comment.