Address review comment and adjust multiplier

This commit is contained in:
teknomunk 2024-12-29 11:55:55 -06:00 committed by the-real-herowl
parent 3b63b1eec3
commit aef68d34fd

View file

@ -567,8 +567,8 @@ function submod.do_detached_movement(self, dtime)
local away = vector_away_from_players(self, staticdata)
if away then
local v = self.object:get_velocity() * 0.25
self.object:set_velocity(v - away)
local v = self.object:get_velocity()
self.object:set_velocity((v - away)*0.65)
-- Boost the minecart vertically a bit to get over the edge of rails and things like carpets
local boost = vector.offset(vector.multiply(vector.normalize(away), 0.1), 0, 0.07, 0) -- 1/16th + 0.0075