How to get the terrain elevation (z) at specific (x,y) location
I am interesting in programmatically spawn models on a terrain in a random fashion, so i am wondering whether, there is some tool that allow querying for the z coordinate of a terrain given the (x,y) coordinates
The approach of drooping objects from a height, and letting them find the ground by free fall, seems not so elegant solution..
does anyone have an idea ?
thanks