I have a terrain mesh in obj format. I don't want to use heightmaps, terrain blocks, etc.
If i have a x and z position, how do i find the closest y position? and maybe even the nearest normal vector?
Rob
solved with rays.
I have a terrain mesh in obj format. I don't want to use heightmaps, terrain blocks, etc.
If i have a x and z position, how do i find the closest y position? and maybe even the nearest normal vector?
Rob
solved with rays.