How to find the elevation (Z) of a X,Y point on 3D Triangle?
in
Contributed Library Questions
•
2 years ago
I've tried to do this with the Toxiclibs, but I got crazy results.
Has anyone had success finding the elevation of an X,Y point on a 3D triangle?
Because I'm using landscapes forms it was easy to find the triangle/face that my Ray intersected – by flattening my mesh – but once I have the triangle, I'm not sure how I would actually find the elevation of a point somewhere within the 3D triangle.
Seems like it could be a pretty easy thing to do if I understood normals better, but I've also seen a bunch of intense solutions on the web.
Any help would be greatly appreciated!
Thanks,
aufsess
1