Hello everyone and happy new year!
I have a difficult problem that I cannot find a solution for, but it seems so simple that perhaps i have overlooked something.
I want to make a vector that is perpendicular to an edge. Meaning, the vector should be on the plane of the connected face, going from the edge and perpendicularly out from the face. Does it make sense? Please see this image. The lone edge pointing out from the face should be the vector.
I could take the face edge and rotate it 90 degrees with the plane axis, but that does not ensure that the vector always goes in the right direction. Can I somehow detect which direction is away from the face? Or is there another solution?
I really hope someone can help me. Thank you!