mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-11-22 12:37:59 +01:00
Adjust animation speeds
This commit is contained in:
parent
5f1dcf1647
commit
dece23eed1
1 changed files with 2 additions and 2 deletions
|
@ -274,7 +274,7 @@ public abstract class AbstractPonyModel<T extends LivingEntity> extends ClientPo
|
||||||
rightArm.pivotZ = 2 + sin;
|
rightArm.pivotZ = 2 + sin;
|
||||||
leftArm.pivotZ = 2 - sin;
|
leftArm.pivotZ = 2 - sin;
|
||||||
|
|
||||||
float legRPX = getMetadata().getInterpolator(attributes.interpolatorId).interpolate("legOffset", cos - getLegOutset() - 0.001F, 3);
|
float legRPX = getMetadata().getInterpolator(attributes.interpolatorId).interpolate("legOffset", cos - getLegOutset() - 0.001F, 2);
|
||||||
|
|
||||||
rightArm.pivotX = -legRPX;
|
rightArm.pivotX = -legRPX;
|
||||||
rightLeg.pivotX = -legRPX;
|
rightLeg.pivotX = -legRPX;
|
||||||
|
@ -322,7 +322,7 @@ public abstract class AbstractPonyModel<T extends LivingEntity> extends ClientPo
|
||||||
float rainboomLegLotation = getMetadata().getInterpolator(attributes.interpolatorId).interpolate(
|
float rainboomLegLotation = getMetadata().getInterpolator(attributes.interpolatorId).interpolate(
|
||||||
"rainboom_leg_rotation",
|
"rainboom_leg_rotation",
|
||||||
attributes.isGoingFast ? 1 : 0,
|
attributes.isGoingFast ? 1 : 0,
|
||||||
10
|
5
|
||||||
);
|
);
|
||||||
float yAngle = 0.2F * rainboomLegLotation;
|
float yAngle = 0.2F * rainboomLegLotation;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue