When I use the ground.getHeightAtCoordinates(0,0) method, the ground width and length exceeds 300 and NaN is displayed

When I use the ground.getHeightAtCoordinates(0,0) method, the ground width and length exceeds 300 and NaN is displayed
QQ截图20220504174615


Make sure to call it after the ground was already initialized (i.e. in the unSuccess callback). If you run it before results may vary (or better yet - it will fail for sure :-))

When I use the ground.getHeightAtCoordinates(0,0) method, the ground width and length are set to 271 and it displays correctly


Snipaste_2022-05-04_18-00-14

Want to reproduce this on the playground?

I understand what you mean, after I used the onready method, it was successful, thank you very much