rotating hovercar to be at the same angle as the terrain/object below it

i have a hovercar and a raycast that shoots down and i want to know how to make the hovercar match the angle of the terrain, like a ghost out of halo.

Try using the RaycastHit.normal function which should give you a vector3 value.
This should show the value in the debug consoleā€¦

var hit : RaycastHit;

function Update () {

var dwn = transform.TransformDirection (Vector3.down);

   if (Physics.Raycast (transform.position, dwn, hit))
   {
   Debug.Log(hit);
   }

}