add body rotation

This commit is contained in:
KKNecmi 2026-05-25 22:05:13 +03:00
parent 9e1cf35103
commit f1b62154df

View file

@ -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;