Skip to navigation


Driving model: playerDrift

Name: playerDrift [Show more] Type: Variable Category: Driving model Summary: Records whether the player's car is moving sideways by a significant amount
Context: See this variable in context in the source code References: This variable is used as follows: * ApplyGrassOrTrack uses playerDrift * MovePlayerOnTrack uses playerDrift * SetPlayerDriftSup uses playerDrift
.playerDrift EQUB 0 \ If bit 7 is set, then the player's car is moving \ sideways by more than 22 in this iteration around the \ main driving loop (where the track width is 256)