Zylann / godot_heightmap_plugin

HeightMap terrain for Godot implemented in GDScript
Other
1.72k stars 159 forks source link

how can i query the height of the terrain (while i'm in editor mode), or how can i get "cell_raycast" to work? #300

Open RichardEllicott opened 2 years ago

RichardEllicott commented 2 years ago

Hi

Thanks for your awesome plugin. I really want to be able to query a height somewhere for the sake of placing trees etc by code.

I couldn't find any documented featrues to probe the terrain but notes in the code.... all i seem to be able to get back from cell_raycast is null, i look through it i wondered if it's even finished or working?

Zylann commented 2 years ago

There are multiple ways to do that.

RichardEllicott commented 2 years ago

thanks for the info, i think i will have this worked out soon by looking at this code