I'm trying to align a Node3D based on the average positions of 4 points. This picture illustrates what I'm trying to do quite well:
Edit: C and D are reversed in that image. 😵
How would I go about getting an upward-facing normal from these 4 points? Should I create two triangles and average out their normals, or something else? Currently, I'm using this solution on Stack Overflow, but it's quite glitchy and doesn't work correctly.