CCamera::BeginBobbing
function · uicamera · primitive
- Address
0x5110f0· 26 bytes, up to0x511109- Signature
void __thiscall (CCamera *this)- Meaning
- Sets the bobbing bit and the start time
- 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 1
- CCamera::SetBobbing uicamera
Callees 1
- OsGetAsyncTimeMs core
Calls and jumps by a bare address, from tables/calls.tsv.