How to get the orientation of a face?

How would i get the orientation of a specific face on an object, by pointing a ray at it, the purpose of this would be to aim a ray at an object, find the specific face the ray is hitting and add an object at ray.hitPosition, which has the same orientation as the face it will be added to.

any help appreciated

Thanx

You can use the normal direction of face, I guess. I think that VegetableJuiceF had a demo of it.

Yup, I was right:)