Hey how can I make a line trace from one point to another in the scene and get the object it hit?
Exactly like this http://docs.unity3d.com/ScriptReference/Physics.Raycast.html
I only found the Ray thing in the mathematics namespace, but that isnt what I’m looking for since it well, for mathematics and not inside of the scene.
[Solved] Ray/Line Tracing
3 posts, 1683 views, 2016-01-05 to 2016-01-05
Oh nvm it’s the simulation of the physics object
You could check the Raycasting sample as well for proper usage.