Hi,
Is it possible to retrieve the coordinates where a Raycast collides with a very large plane?
Thanks!
Hi,
Is it possible to retrieve the coordinates where a Raycast collides with a very large plane?
Thanks!
Sorry to spam the forum, but to clarify my question:
How can you get the exact point (in world coordinates) of contact between a ray and a collider?
If you use the second version of Physics.Raycast in the reference, you will receive all sorts of info on the raycast hit: Unity - Scripting API: Physics.Raycast.
The RaycastHit object returned contains all sorts of data, including the exact hit point:
That’s what I was looking for! Somehow I didn’t find it in the doc’s
Thanks! ![]()