benilla-re systems structs docs

CCamera::SetBobbing

function · uicamera · orchestration

Address
0x511170 · 58 bytes, up to 0x5111a9
Signature
void __thiscall (CCamera *this, bool bobbing)
Meaning
Begins bobbing on a rising flag and its decay on a falling one
Confidence
verified, proof one
Finding
uicamera/transitions#bob-decay

Finding: Bob decay in uicamera: transitions

When bobbing stops, the bob offsets (+0x110 to +0x118) decay to 0. The duration is the largest offset divided by cameraBobbingSmoothSpeed, started at the stop time from the offsets as they were; the offsets then ease to 0 with the same cosine. Starting to bob sets mode bit 9 and the start time.

The derivation is in the doc.

Callers 2

Callees 2

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