- Home /
Question by
dot · Nov 07, 2010 at 08:16 PM ·
raycasthit
RaycastHit - hit.point is where the ray hits (enters the collider). question on learning where does it exit.
as stated in the subject, we know that RaycastHit.point is a point where a ray has hit a collider. correct? we must know where would it "exit". think of a bullet scenario - it enters a body in Raycast.point, and exists in (?)
problem: how to calculate it/learn what's the position of that point.
Comment
Best Answer
Answer by Eric5h5 · Nov 07, 2010 at 08:37 PM
Raycast from the opposite direction.
that's what I thought. com$$anonymous$$g to think of it there isnt any other way here is it? especially if the objects hit can be irregular. ok. thank you Eric.