在cesiumjs中可以通过 sampleTerrainMostDetailed,函数获取真实高度,但是我在unity中没有发现类似的函数?
A function equivalent to CesiumJS’s sampleTerrainMostDetailed
is not yet available, but we hope to add it soon:
In the meantime, the only option is to do a Physics.Linecast
against the loaded terrain.