CCamera::PushGroundPitch
function · uicamera · orchestration
- Address
0x50d500· 32 bytes, up to0x50d51f- Signature
void __thiscall (CCamera *this)- Meaning
- Raises the ground pitch counter and bakes the ground pitch into the pitch on the first
- Confidence
- verified, proof one
- Finding
- uicamera/transitions#relative-and-absolute-frames
Finding: Relative and absolute frames in uicamera: transitions
The yaw offset is normally relative to the target's facing. Two counters change that. While +0xa4 is above 0 the
camera is in the absolute frame: the view yaw is the offset alone. Raising the counter from 0 adds the target's facing to
the yaw offsets so the picture does not move, and lowering it to 0 takes the facing off again. +0xa8 does the same for the
terrain pitch, which is added to the view pitch only while the counter is 0. Mouselook raises both counters when it begins and
lowers them when it ends; the external-move flag of uicamera/follow raises the first.
The derivation is in the doc.
Callers 1
- CameraEnterFreelook uicamera
Callees 1
- CCamera::ShiftPitch uicamera
Calls and jumps by a bare address, from tables/calls.tsv.