This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
new:units [2018/02/16 22:00] – korshun | new:units [2018/02/16 22:03] – korshun | ||
---|---|---|---|
Line 7: | Line 7: | ||
===== Angle units ===== | ===== Angle units ===== | ||
- | The following angle units are common: | + | The following angle units are commonly used in ZDoom: |
* ZDoom fixed-point angles [0, 1] | * ZDoom fixed-point angles [0, 1] | ||
Line 26: | Line 26: | ||
===== Gravity units ===== | ===== Gravity units ===== | ||
- | * acceleration (default | + | There are two gravity units in ZDoom: |
- | * '' | + | |
- | ZDoom uses '' | + | * acceleration -- mapunits/ |
+ | * '' | ||
+ | |||
+ | ZDoom uses '' | ||
Gravity units can be converted using the following functions: | Gravity units can be converted using the following functions: | ||
Line 42: | Line 44: | ||
===== Jump height ===== | ===== Jump height ===== | ||
+ | |||
+ | Decorate JumpZ is not the actual jump height of the actor, but a much lower non-linearly related value. | ||
* '' | * '' | ||
* '' | * '' | ||