Skip to navigation

Car geometry: xPlayerCoordTop

Name: xPlayerCoordTop [Show more] Type: Variable Category: Car geometry Summary: The top byte of the x-coordinate of the player's 3D coordinates
Context: See this variable in context in the source code References: This variable is used as follows: * AddScaledVector uses xPlayerCoordTop * ApplyDeltas uses xPlayerCoordTop * BuildPlayerCar uses xPlayerCoordTop * GetObjYawAngle (Part 1 of 4) uses xPlayerCoordTop

The coordinate is stored as a 24-bit number in (xPlayerCoordTop xPlayerCoordHi xPlayerCoordLo).
.xPlayerCoordTop EQUB 0