This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
4rpl:commands:getexactcreeperheight [2023/11/10 00:32] – [Description] Added line breaks. Vertu | 4rpl:commands:getexactcreeperheight [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 8: | Line 8: | ||
===== Description ===== | ===== Description ===== | ||
Gets height of the creeper at a given floating point position. The height factors in the terrain height, and the visual flattening.\\ | Gets height of the creeper at a given floating point position. The height factors in the terrain height, and the visual flattening.\\ | ||
- | The height represents the exact visual height in world coordinates.\\ | + | The height represents the exact visual height in the world.\\ |
The returned surfaceNormal is a vector representing the normal to the creeper triangle at the supplied x,z coordinate.\\ | The returned surfaceNormal is a vector representing the normal to the creeper triangle at the supplied x,z coordinate.\\ | ||
The returned hasCreeper and hasAC booleans indicate if either was present at the supplied location.\\ | The returned hasCreeper and hasAC booleans indicate if either was present at the supplied location.\\ | ||
When no creeper or AC is present, the returned height is the exact height of the terrain at the supplied location.\\ | When no creeper or AC is present, the returned height is the exact height of the terrain at the supplied location.\\ | ||
- | The ignoreCreeper and ignoreAC APIS affect whether creeper or AC is useed in determining the resulting height. They do not affect the returned hasCreeper and hasAC values.\\ | + | The ignoreCreeper and ignoreAC APIS affect whether creeper or AC is used in determining the resulting height. They do not affect the returned hasCreeper and hasAC values.\\ |
Note that AC flattening (a visibility option the player can engage) does NOT affect the returned height. | Note that AC flattening (a visibility option the player can engage) does NOT affect the returned height. | ||