Download

Getting height value of x,y coordinate of Landscape

Hello guys,

I am stuck with an apparently simple problem:

How can I get the height of a Landscape at a certain x,y coordinate in c++?

Any help is hiiighly welcome :slight_smile:

Greez, Alex

Not aware of any built-ins to get position of landscape at a location.

You could do a ray trace on a channel like visibility and get the transform at where the hit happens.

Hi Boarnoah. That is a possibility. Yet I need the position of each vertex (x,y) and the height information of the heightmap. With tay trace I do not know where a Landscapevertex is.