From 3f3b0f751f26cb37ef5cb2325d1b7052e1c6a94b Mon Sep 17 00:00:00 2001 From: Elkien3 Date: Wed, 20 Jun 2018 09:23:04 -0500 Subject: [PATCH] make horses turn faster --- mods/whinny/horse.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mods/whinny/horse.lua b/mods/whinny/horse.lua index 645dc02..1ebb213 100644 --- a/mods/whinny/horse.lua +++ b/mods/whinny/horse.lua @@ -155,10 +155,10 @@ local function register_basehorse(name, craftitem, horse) -- rotation (the faster we go, the less we rotate) if ctrl.left then - self.object:setyaw(self.object:getyaw()+2*(1.5-math.abs(self.speed/self.max_speed))*math.pi/90 +dtime*math.pi/90) + self.object:setyaw(self.object:getyaw()+3*(2-math.abs(self.speed/self.max_speed))*math.pi/90 +dtime*math.pi/90) end if ctrl.right then - self.object:setyaw(self.object:getyaw()-2*(1.5-math.abs(self.speed/self.max_speed))*math.pi/90 -dtime*math.pi/90) + self.object:setyaw(self.object:getyaw()-3*(2-math.abs(self.speed/self.max_speed))*math.pi/90 -dtime*math.pi/90) end -- jumping (only if on ground)