Hello I have a question, how can I get a normal from a RecastGraph.Linecast like in Unity NavMesh.Raycast?

I saw that there is Tangent, but I need a normal because I want to reflect the incoming Vector. Thank you

Hello I have a question, how can I get a normal from a RecastGraph.Linecast like in Unity NavMesh.Raycast?

I saw that there is Tangent, but I need a normal because I want to reflect the incoming Vector. Thank you

Hi

The normal is the tangent rotated 90 degrees.

Thank you, so basically I do

tangent = Quternion.Euler(0,90,0) * tangent and it will be a normal pointing in the direction of a red Arrow yes? and -90 would be the opposite direction

Yes, that’s exactly right