nanos world API Reference Unofficial documentation
Function Server Fast

Character:SetAirControl

Sets the amount of movement control allowed when it is in air

Syntax

Lua
my_character:SetAirControl(air_control = 0.2, boost_multiplier = 512, boost_velocity_threshold = 25)

Parameters

Name Type Default Description
air_control optional float 0.2 When falling, amount of lateral movement control available to the character. 0 = no control, 1 = full control at max speed of MaxWalkSpeed
boost_multiplier optional float 512 When falling, multiplier applied to air_control when lateral velocity is less than boost_velocity_threshold. Setting this to zero will disable air control boosting. Final result is clamped at 1
boost_velocity_threshold optional float 25 When falling, if lateral velocity magnitude is less than this value, air_control is multiplied by boost_multiplier. Setting this to zero will disable air control boosting