[Solved] Ray/Line Tracing

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.

Oh nvm it’s the simulation of the physics object

You could check the Raycasting sample as well for proper usage.