mirror of
https://github.com/neoStudiosLCE/neoLegacy.git
synced 2026-08-20 09:57:09 +00:00
add body rotation
This commit is contained in:
parent
9e1cf35103
commit
f1b62154df
|
|
@ -593,6 +593,12 @@ void HumanoidModel::setupAnim(float time, float r, float bob, float yRot, float
|
||||||
if (sleeve1)
|
if (sleeve1)
|
||||||
sleeve1->yRot=0.0f;
|
sleeve1->yRot=0.0f;
|
||||||
|
|
||||||
|
if (holdingRightHand == 3)
|
||||||
|
{
|
||||||
|
arm0->yRot = -0.4f;
|
||||||
|
if (sleeve0) sleeve0->yRot = -0.4f;
|
||||||
|
}
|
||||||
|
|
||||||
if (attackTime > -9990.0f)
|
if (attackTime > -9990.0f)
|
||||||
{
|
{
|
||||||
float swing = attackTime;
|
float swing = attackTime;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue