s_bevelNormalZ
global · collision
- Address
0x80e014· 4 bytes, up to0x80e017- Type
float- Meaning
- Holds -0.4756366 (0xbef386a4), the normal z of a bevel contact plane
- Confidence
- verified, proof one
- Finding
- collision/walking#slope-thresholds
Finding: Slope thresholds in collision: walking
The constants of these functions, all .rdata:
| address | value | dword | angle | role |
|---|---|---|---|---|
0x80dffc | 0.6427876 | 0x3f248dbb | cos 50° | walkable limit; flip and push-out tests |
0x80e000 | 0.1736482 | 0x3e31d0d4 | cos 80° | limit when 0x5fa550 is 0 |
0x80e008 | 1.1917536 | 0x3f988b62 | tan 50° | step reach H·tan 50° |
0x80c740 | 1.8493990 | 0x3fecb91b | tan 61.6° | settle depth per yard |
0x80e014 | −0.4756366 | 0xbef386a4 | −sin 28.4° | bevel plane z |
0x80e024 | 0.6385560 | 0x3f237868 | two-bevel normalizer | |
0x80e01c | 0.9848077 | 0x3f7c1c5c | cos 10° | fall-away cone |
0x80e028 | 0.0174524 | 0x3c8ef859 | cos 89° | ground-normal filter |
0x80dfec | 0.0013889 | 0x3ab60b61 | 1/720, step reach floor |
The derivation is in the doc.