User Tools

Site Tools


4rpl:commands:getexactterrain

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
4rpl:commands:getexactterrain [2021/01/08 16:01] – external edit 127.0.0.14rpl: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.  A value of 0 means "void" or no terrain. Gets the floating point height of the terrain at the specified floating point position.  A value of 0 means "void" or no terrain.
 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 units that need to crawl up and over terrain. +This can be useful for positioning units that need to crawl up and over terrain. 
-The final parameter is a boolean that specified whether to include the invisible pseudo terrain that some units create.+The final parameter is a boolean that specifies whether to include the invisible pseudo terrain that some units create.
  
 ===== Examples ===== ===== Examples =====
4rpl/commands/getexactterrain.1610121708.txt.gz · Last modified: 2025/02/14 14:56 (external edit)