drift adjusted
This commit is contained in:
parent
0b2c35c9ff
commit
8b3f608e24
@ -55,12 +55,12 @@ if minetest.get_modpath("default") then
|
||||
{"automobiles_lib:wheel","automobiles_trans_am:trans_am_body", "automobiles_lib:wheel"},
|
||||
}
|
||||
})
|
||||
minetest.register_craft({
|
||||
--[[minetest.register_craft({
|
||||
output = "automobiles_trans_am:trans_am_body",
|
||||
recipe = {
|
||||
{"default:glass" ,"default:mese_crystal","default:steel_ingot"},
|
||||
{"default:steel_ingot","default:steelblock","default:steel_ingot"},
|
||||
{"default:steelblock","default:steelblock", "default:steelblock"},
|
||||
}
|
||||
})
|
||||
})]]--
|
||||
end
|
||||
|
@ -486,7 +486,7 @@ minetest.register_entity("automobiles_trans_am:trans_am", {
|
||||
|
||||
local later_speed = automobiles_lib.dot(velocity,nhdir)
|
||||
local dynamic_later_drag = trans_am.LATER_DRAG_FACTOR
|
||||
if longit_speed > 4 then dynamic_later_drag = dynamic_later_drag/(longit_speed) end
|
||||
if longit_speed > 8 then dynamic_later_drag = dynamic_later_drag/(longit_speed) end
|
||||
local later_drag = vector.multiply(nhdir,later_speed*
|
||||
later_speed*dynamic_later_drag*-1*automobiles_lib.sign(later_speed))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user