Anyone could tell me how to get the 3 vertices that forms the face on a terrain mesh at a x,z point other than looping through all the vertices?
Since a terrain is mainly a flat mesh, it “should” be somewhat easy, but i’m confused with the vertices and indexes.
Thanks!