From f1b62154dfbcbd3ee71b0d1ac4ba211d6d0dac47 Mon Sep 17 00:00:00 2001 From: KKNecmi Date: Mon, 25 May 2026 22:05:13 +0300 Subject: [PATCH] add body rotation --- Minecraft.Client/HumanoidModel.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Minecraft.Client/HumanoidModel.cpp b/Minecraft.Client/HumanoidModel.cpp index c363f528..517621c8 100644 --- a/Minecraft.Client/HumanoidModel.cpp +++ b/Minecraft.Client/HumanoidModel.cpp @@ -593,6 +593,12 @@ void HumanoidModel::setupAnim(float time, float r, float bob, float yRot, float if (sleeve1) sleeve1->yRot=0.0f; + if (holdingRightHand == 3) + { + arm0->yRot = -0.4f; + if (sleeve0) sleeve0->yRot = -0.4f; + } + if (attackTime > -9990.0f) { float swing = attackTime;