void SetAirControl (fixed amount);
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.
(If you know more about this function, please edit this description)
- amount: How much control the player should have while in the air. Amount is a fixed-point value. The default is 0.00390625.
|Note: This article lists no examples. If you make use of this feature in your own project(s) or know of any basic examples that could be shared, please. This will make it easier to understand for future authors seeking assistance. Your contibutions are greatly appreciated.|