mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-11-26 14:27:59 +01:00
Added some more swing to tails
This commit is contained in:
parent
d233399b68
commit
f01bdd973b
1 changed files with 1 additions and 0 deletions
|
@ -62,6 +62,7 @@ public class PonyTail extends PlaneRenderer {
|
||||||
public void swingX(float tick) {
|
public void swingX(float tick) {
|
||||||
float sinTickFactor = MathHelper.sin(tick * 0.067F) * 0.05F;
|
float sinTickFactor = MathHelper.sin(tick * 0.067F) * 0.05F;
|
||||||
rotateAngleX += sinTickFactor;
|
rotateAngleX += sinTickFactor;
|
||||||
|
rotateAngleY += sinTickFactor;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void rotateSneak() {
|
public void rotateSneak() {
|
||||||
|
|
Loading…
Reference in a new issue