I am trying to get a point into the correct position. I have 2 points with normals and was assuming I could send a point 90degree from the pair to meet at a desired position. All I keep doing is getting a plain locked flat to the diverging normals.
vector P1 = point(0, "P", 0); // First point position vector P2 = point(0, "P", 1); // Second point position vector N1 = point(0, "N", 0); // First point normal vector N2 = point(0, "N", 1); // Second point normal vector edge = P2 - P1; // Calculate a vector perpendicular to both normals vector planeNormal = cross(N1, N2); planeNormal = normalize(planeNormal); [attach]help.png[/attach] vector thirdPoint = cross(edge, planeNormal); thirdPoint = normalize(thirdPoint); float distance = 1.0; thirdPoint *= distance; vector P3 = P1 + thirdPoint; @P = P3;