From 363c6808b22ebb127f20b377a183a5948e71da6b Mon Sep 17 00:00:00 2001 From: oilboi <47129783+oilboi@users.noreply.github.com> Date: Mon, 22 Jun 2020 19:47:45 -0400 Subject: [PATCH] Make mobs navigate even better --- mods/mob/api/movement.lua | 2 -- 1 file changed, 2 deletions(-) diff --git a/mods/mob/api/movement.lua b/mods/mob/api/movement.lua index 99faec2..d51b60e 100644 --- a/mods/mob/api/movement.lua +++ b/mods/mob/api/movement.lua @@ -116,8 +116,6 @@ mobs.create_movement_functions = function(def,mob_register) goal = vector.multiply(self.direction,self.speed) acceleration = vector.new(goal.x-currentvel.x,0,goal.z-currentvel.z) if self.whip_turn then - acceleration = vector.multiply(acceleration, 0.5) - self.whip_turn = self.whip_turn - dtime if self.whip_turn <= 0 then self.whip_turn = nil