Given 3 dynamic points, what is the best way to orientate a plane so that it intersects all 3 points?
I'm using Three.js
To get the direction of the vector to orientate the plane, calculate the cross product of any of the 2 sides of the triangle
so, if your points are a, b, c
side1 = subVectors (a, b);
side2 = subVectors (a, c);
planeNormal = crossVectors (side1, side2);
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments