Tribes2-SCP / Torque3D

Tribes 2 engine implementation based on the MIT Licensed Open Source version of Torque 3D from GarageGames
http://torque3d.org
0 stars 0 forks source link

getControlObjectAltitude #13

Open Ragora opened 8 years ago

Ragora commented 8 years ago

Torque3D is missing getControlObjectAltitude which returns the current control object's altitude above the terrain only. It is pretty much equivalent to calling getTerrainHeight(%myControlObject.getPosition()).

It is a clientside function that is to be invoked as such:

%altitude = getControlObjectAltitude();