• ORBITER-FORUM will be temporarily closed at 2026-07-23 18:00 UTC while we complete some OF maintenance tasks. The amount of downtime is expected to take up to one hour, but probably less.

LUA Terrain elevation

sigsig

New member
Joined
Dec 28, 2009
Messages
9
Reaction score
1
Points
3
Is there any way for retrieving the elevation of an arbitrary point () in the surface of a planet?

I can get the elevation of my vessel with vessel:get_surfaceelevation() but I can't find a method to retrieve the elevation of another location in the planet, given its coordinates.
 
The Orbiter API has oapiSurfaceElevation. I don't know if that is available in Lua though.
 
Back
Top