This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
4rpl:commands:getexactcreeperheight [2021/01/08 16:01] – external edit 127.0.0.1 | 4rpl:commands:getexactcreeperheight [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
~~NOTOC~~ | ~~NOTOC~~ | ||
- | < | + | < |
+ | < | ||
====== GetExactCreeperHeight ====== | ====== GetExactCreeperHeight ====== | ||
Line 6: | Line 7: | ||
===== 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. | ||