Skip to navigation

Car geometry: yPlayerCoordHi

Name: yPlayerCoordHi [Show more] Type: Variable Category: Car geometry Summary: The high byte of the y-coordinate of the player's 3D coordinates
Context: See this variable in context in the source code References: This variable is used as follows: * ApplyElevation (Part 5 of 5) uses yPlayerCoordHi * GetObjPitchAngle uses yPlayerCoordHi

The coordinate is stored as a 24-bit number in (yPlayerCoordTop yPlayerCoordHi yPlayerCoordLo).
.yPlayerCoordHi EQUB 0