Difference between revisions of "DCS func getHeight"
From DCS World Wiki - Hoggitworld.com
| (One intermediate revision by one other user not shown) | |||
| Line 37: | Line 37: | ||
[[DCS_singleton_land|'''land functions:''']] {{listOflandFuncs}} | [[DCS_singleton_land|'''land functions:''']] {{listOflandFuncs}} | ||
| − | |examples= The following example | + | |examples= The following example will convert a vec3 point lacking y-axis data to a vec3 point at ground level. |
newPoint= {x = point.x, y = land.getHeight({x = point.x, y = point.z}), z= point.z} | newPoint= {x = point.x, y = land.getHeight({x = point.x, y = point.z}), z= point.z} | ||
| Line 44: | Line 44: | ||
}} | }} | ||
[[Category:Singleton Functions|getHeight]] | [[Category:Singleton Functions|getHeight]] | ||
| + | [[Category:Game Patch 1.2.0|getHeight]] | ||
