Original Post
Hello Everyone, Hopefully this is a simple question, I am looking for a formula that will take 5 vertices (4 are points on a terrain, 1 is the object) and spit out what height the object should be at. For example, lets say I have the following points on my terrain: (1,1,1), (2,1,1), (1,2,3), and (2,2,2). If the object is at point (1.2,1.3,1) I need the height to be adjusted correctly. Any suggestions?