How i can a normal vectors?

I've done Raycast in a normal of my cube.

I get the normal with:


alt text

My Question: How I can find the vectors of the vertices of the normal??


I think the terminology is a little confused here. I think you're saying "normal" when you mean "triangle".

This is how you get the corner vertexes of the triangle.

You could use RaycastHit.triangleIndex.

This function works only if the collider that was hit is a MeshCollider.

try barycentric coordinates. the example on the link below does exactly what you are looking for-- an interpolated normal based on the triangle you hit.