From 9e914039bf9c599f90d7ede23ebd96b7bf0ed9c8 Mon Sep 17 00:00:00 2001 From: NullBite Date: Thu, 28 Nov 2024 23:59:03 -0500 Subject: [PATCH] Adjust tail movement amplitude This helps prevent armor clipping --- script.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/script.lua b/script.lua index f3c94e3..5b449e0 100644 --- a/script.lua +++ b/script.lua @@ -682,9 +682,9 @@ function animateMTail(val, delta) amplitude_multiplier=0.3 end resetAngles(model.Body) - model.Body:setRot(vec( wave(val, period, 3*amplitude_multiplier), 0, 0 )) + model.Body:setRot(vec( wave(val, period, 2*amplitude_multiplier), 0, 0 )) -- model.Body.LeggingsTopTrim:setRot(vec( wave(val-1, period, 4*amplitude_multiplier), 0, 0 )) - TAIL_BONES[1]:setRot(vec( wave(val-1, period, 7*amplitude_multiplier) + curve, 0, 0 )) + TAIL_BONES[1]:setRot(vec( wave(val-1, period, 4*amplitude_multiplier) + curve, 0, 0 )) end TAIL_BONES[2]:setRot(vec( wave(val-2, period, 8*amplitude_multiplier) + curve, 0, 0 ))