fix direction intensity

This commit is contained in:
Alexsandro Percy 2022-09-11 09:37:09 -03:00
parent b7ee0f99ca
commit 75ccb60613
2 changed files with 1 additions and 3 deletions

View File

@ -2,6 +2,4 @@ Motorcycle
This mod adds a motorcycle to minetest
licence see the files

View File

@ -405,7 +405,7 @@ minetest.register_entity("automobiles_motorcycle:motorcycle", {
if math.abs(self._steering_angle)>5 then
local turn_rate = math.rad(40)
newyaw = yaw + dtime*(1 - 1 / (math.abs(longit_speed) + 1)) *
self._steering_angle / 30 * turn_rate * automobiles_lib.sign(longit_speed)
self._steering_angle / 20 * turn_rate * automobiles_lib.sign(longit_speed)
end
--[[