benilla-re systems structs docs

s_bevelPairScale

global · collision

Address
0x80e024 · 4 bytes, up to 0x80e027
Type
float
Meaning
Holds 0.6385560 (0x3f237868), one over the length of two perpendicular bevel normals summed
Confidence
verified, proof one
Finding
collision/walking#slope-thresholds

Finding: Slope thresholds in collision: walking

The constants of these functions, all .rdata:

addressvaluedwordanglerole
0x80dffc0.64278760x3f248dbbcos 50°walkable limit; flip and push-out tests
0x80e0000.17364820x3e31d0d4cos 80°limit when 0x5fa550 is 0
0x80e0081.19175360x3f988b62tan 50°step reach H·tan 50°
0x80c7401.84939900x3fecb91btan 61.6°settle depth per yard
0x80e014−0.47563660xbef386a4−sin 28.4°bevel plane z
0x80e0240.63855600x3f237868two-bevel normalizer
0x80e01c0.98480770x3f7c1c5ccos 10°fall-away cone
0x80e0280.01745240x3c8ef859cos 89°ground-normal filter
0x80dfec0.00138890x3ab60b611/720, step reach floor

The derivation is in the doc.