improve roll

This commit is contained in:
Alexsandro Percy 2025-03-25 19:58:03 -03:00
parent 5f5ff868ba
commit a61a64ba75

View File

@ -737,7 +737,7 @@ function automobiles_lib.on_step(self, dtime)
end
local newpitch = self._pitch --velocity.y * math.rad(6)
local newroll = 0
local newroll = self._roll or 0
if self._is_flying == 1 then
newpitch = 0
local turn_effect_speed = longit_speed