SetAirControl
void SetAirControl (fixed amount);
Usage
Sets how well the player can move while in the air.
Air control is multiplied (using FixedMul) to the default “movement factor” when the player is not on the ground in an area that has gravity, and is not underwater. This gives the player very limited mobility while in the air. The “movement factor” is calculated based on the type of floor the player is on, such as icy or muddy.
Air control is also multiplied to the default bob factor so that the player does not bob up and down as much when in the air.
(Need more info)
Parameters
- amount: How much control the player should have while in the air. Amount is a fixed-point value. The default is 0.00390625.
See also
This article is issued from Zdoom. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.