Fixed leg outset being encorrect for normal width legs

This commit is contained in:
Sollace 2018-04-29 23:06:34 +02:00
parent 0f7605edc3
commit 35e9ef750b
3 changed files with 14 additions and 4 deletions

View file

@ -229,9 +229,9 @@ public abstract class AbstractPonyModel extends ModelPlayer implements IModel {
} }
protected float getLegOutset() { protected float getLegOutset() {
if (isSleeping) return 2.6f; if (isSleeping) return 3.6f;
if (isCrouching()) return 0; if (isCrouching()) return 1;
return 4; return 5;
} }
protected float getLegSpread() { protected float getLegSpread() {

View file

@ -26,7 +26,11 @@ public class ModelEarthPony extends AbstractPonyModel {
} }
protected float getLegOutset() { protected float getLegOutset() {
if (isCrouching() && smallArms) return 1; if (smallArms) {
if (isSleeping) return 2.6f;
if (isCrouching()) return 1;
return 4;
}
return super.getLegOutset(); return super.getLegOutset();
} }

View file

@ -48,6 +48,12 @@ public class ModelSkeletonPony extends ModelMobPony {
} }
} }
protected float getLegOutset() {
if (isSleeping) return 2.6f;
if (isCrouching()) return 0;
return 4;
}
protected int getArmWidth() { protected int getArmWidth() {
return 2; return 2;
} }