This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
4rpl:commands:getexactterrain [2021/01/08 16:01] – external edit 127.0.0.1 | 4rpl:commands:getexactterrain [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 8: | Line 8: | ||
Gets the floating point height of the terrain at the specified floating point position. | Gets the floating point height of the terrain at the specified floating point position. | ||
The height of terrain varies between integer map positions. This API can be used to determine the exact height at any position on the map. | The height of terrain varies between integer map positions. This API can be used to determine the exact height at any position on the map. | ||
- | It works be calculating the terrain triangle that the specified point is over, and then returning the exact height of the point on that triangle. | + | It works by calculating the terrain triangle that the specified point is over, and then returning the exact height of the point on that triangle. |
- | This can be useful for positiong | + | This can be useful for positioning |
- | The final parameter is a boolean that specified | + | The final parameter is a boolean that specifies |
===== Examples ===== | ===== Examples ===== |