benilla-re systems structs docs

s_cameraGlideDistance

global · uicamera

Address
0x808a00 · 4 bytes, up to 0x808a03
Type
const float
Meaning
Holds 1/9, which the camera compares the solved distance difference with before it sets the glide bit
Confidence
verified, proof one
Finding
uicamera/driver#pull-in-and-the-glide-back

Finding: Pull-in and the glide back in uicamera: the follow camera

The near and far solver (0x50e570) gives a distance and a height that clear walls and ceilings. When the live distance (+0xec) is more than 1/9 yard beyond the solved one, the camera jumps to the solved distance plus 1/9 yard and glides back out over 2 seconds to the target distance. The height (+0xfc) does the same against its solved value. A shorter pull-in is taken at once.

The derivation is in the doc.