Jump to content

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


photo

Recommended Posts

Posted

I want get some terrain data.

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

  • 6 years later...
Posted
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?

×
×
  • Create New...