benilla-re systems structs docs

CMissile::FadeOut

function · objectlayer · primitive

Address
0x61d790 · 222 bytes, up to 0x61d86d
Meaning
Fades a missed or deflected missile by a smoothstep of its distance to its destination
Confidence
verified, proof one
Finding
objectlayer/missiles#fading-out
Test
objectlayer::diff_proximity_smoothstep

Finding: Fading out in objectlayer: missiles

A missed or deflected missile fades as it nears the destination. Within r yards, r being half a second of flight for a miss and 0.7 seconds for a deflection, its model alpha is a²(3 − 2a) with a the remaining distance over r, clamped to [0, 1].

The derivation is in the doc.

Callers 1

Callees 1

Calls and jumps by a bare address, from tables/calls.tsv.