[SOLVED] how can I get the objectTerrain class in a world that have a exist terrain


Recommended Posts

I want get some terrain data.

for example, get the ground height by given x, y coordinate

Link to post
  • 6 years later...
3 hours ago, silent said:

ObjectTerrain has been removed, now you can choose between ObjectTerrainGlobal (Sim / Engineering) and ObjectLandscapeTerrain (Community / Engineering / Sim editions).

Thanks, gentleman.

I use unigine version is 2.6。

In Tank demo I Get ObjectTerrain Object.Then use getHight(float x, float y) fuction. but return value after testing, they were all wrong, why?

Link to post