benilla-re systems structs docs

DrunkSway

function · objectlayer · primitive

Address
0x60ab20 · 123 bytes, up to 0x60ab9a
Meaning
Returns a drunk sway angle: drunkenness times 0.75° times the mean of three slow cosines of the time
Confidence
verified, proof one
Finding
objectlayer/unitbody#drunk-sway
Test
objectlayer::cosine_pulse_difftest

Finding: Drunk sway in objectlayer: unit body each frame

0x60ab20(time, drunkenness) is the sway angle: the drunkenness times 0.75° (0x80c4bc) times the mean of three cosines at slow, unrelated rates. 0x60aba0 clamps a pitch to ±π/2.

The derivation is in the doc.

Callers 1

Callees 0

None by a direct call or jump.

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