mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-11-23 13:37:58 +01:00
Correctly rotate pegasus wings when flying/gliding
This commit is contained in:
parent
262d87a12b
commit
051e801862
1 changed files with 4 additions and 1 deletions
|
@ -121,8 +121,11 @@ public class PlayerPhysics extends EntityPhysics<PlayerEntity> implements Tickab
|
|||
spreadAmount += Math.sin(pony.asEntity().age * 4F) * 8;
|
||||
} else {
|
||||
if (isGliding()) {
|
||||
spreadAmount += 2.5F;
|
||||
spreadAmount += MineLPDelegate.getInstance().getPlayerPonyRace(entity).isEquine() ? -0.8F : 2.5F;
|
||||
} else {
|
||||
if (MineLPDelegate.getInstance().getPlayerPonyRace(entity).isEquine()) {
|
||||
spreadAmount -= 1.8F;
|
||||
}
|
||||
spreadAmount += strafe * 10;
|
||||
spreadAmount += thrustScale * 24;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue