Advertisement
IgorSRocha

Animation Mob

Jan 29th, 2019
3,192
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. this.head.rotateAngleY = f3 / (180F / (float)Math.PI);
  2. this.head.rotateAngleX = f4 / (180F / (float)Math.PI);
  3. this.leftleg.rotateAngleX = MathHelper.cos(f * 1.0F) * -1.0F * f1;
  4. this.rightleg.rotateAngleX = MathHelper.cos(f * 1.0F) * 1.0F * f1;
  5. this.rightarm.rotateAngleX = MathHelper.cos(f * 0.6662F + (float)Math.PI) * 2.0F * f1 * 0.5F;
  6. this.leftarm.rotateAngleX = MathHelper.cos(f * 0.6662F + (float)Math.PI) * 2.0F * f1 * 0.5F;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement