Fix torso not moving properly with tail

This commit is contained in:
NullBite 2022-06-22 23:13:46 -04:00
parent 9a17550b74
commit 1aa10b7aa7
Signed by: nullbite
GPG Key ID: 6C4D545385D4925A

View File

@ -1050,8 +1050,8 @@ end
function animateMTail(val) function animateMTail(val)
local chest_rot = 3 local chest_rot = 3
local per=2*math.pi local per=2*math.pi
model.Body:setRot(vec( wave(val, per, 3), 0, 0 ))
-- TODO vanilla model manipulation broke, add chestplate model -- TODO vanilla model manipulation broke, add chestplate model
-- model.Body:setRot(vec( wave(val, per, 3), 0, 0 ))
-- armor_model.CHESTPLATE:setRot(vec( -wave(val, per, math.rad(3)), 0, 0 )) -- armor_model.CHESTPLATE:setRot(vec( -wave(val, per, math.rad(3)), 0, 0 ))
-- this makes it work with partial vanilla -- this makes it work with partial vanilla
-- vanilla_model.BODY:setRot(vec( -wave(val, per, math.rad(3)), 0, 0 )) -- vanilla_model.BODY:setRot(vec( -wave(val, per, math.rad(3)), 0, 0 ))