I have a terrain which is a mesh, given. Given the x, zx and z coordinates in which a caractercharacter is placed i, I would like a function that returns the y y (so, the height) at that given point.
I am using vulkanVulkan and I would like to know how can I implement it in c++C++.
Thanks