Other Custom Model Mob's Parts Animation TUTORIAL

Started by Kane on Sat, 06/25/2016 - 23:11

Topic category: User side tutorials

Last seen on 21:22, 22. Jun 2019
Joined Aug 2014
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Other Custom Model Mob's Parts Animation TUTORIAL
Sat, 06/25/2016 - 23:11

Hi guys!

I made a very easy tutorial on MCreator (1.6.6 but it should work on every version that allow to animate body parts of mobs) about how to animate other parts of your custom model mob's parts, for example horns, legs parts or arms parts, or even other arms and legs (or for example if your arms are composed by more blocks) etc. that should animate like (or with) head, arms or legs (that already have the possibility to be animate in MCreator without coding), insted of staying still,  simply adding some strings.

So here it is my video: https://www.youtube.com/watch?v=6sGQmcQlwwE

I know it's not in english (:P) but trust me, it's really EASY!

If you have any question, jast ask me!

 

(and if you want, watch my other video on MCreator if you need something :D )

Last seen on 23:40, 10. Aug 2019
Joined Dec 2016
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
I've done exactly what you've
Fri, 01/27/2017 - 02:33

I've done exactly what you've done in the video yet its not working for me :/ the code below is for a buffalo which has several things attached to the head but they do not rotate correctly for some reason. Take a look.

super.setRotationAngles(f, f1, f2, f3, f4, f5, e);
this.head.rotateAngleY = f3 / (180F / (float) Math.PI);
this.head.rotateAngleX = f4 / (180F / (float) Math.PI);
this.Left_base_horn.rotateAngleY = f3 / (180F / (float) Math.PI);
this.Left_base_horn.rotateAngleX = f4 / (180F / (float) Math.PI);
this.Right_Base_Horn.rotateAngleY = f3 / (180F / (float) Math.PI);
this.Right_Base_Horn.rotateAngleX = f4 / (180F / (float) Math.PI);
this.Nose.rotateAngleY = f3 / (180F / (float) Math.PI);
this.Nose.rotateAngleX = f4 / (180F / (float) Math.PI);
this.Left_horn_Tip.rotateAngleY = f3 / (180F / (float) Math.PI);
this.Left_horn_Tip.rotateAngleX = f4 / (180F / (float) Math.PI);
this.Right_Horn_Tip.rotateAngleY = f3 / (180F / (float) Math.PI);
this.Right_Horn_Tip.rotateAngleX = f4 / (180F / (float) Math.PI);
this.Back_Left.rotateAngleX = MathHelper.cos(f * 1.0F) * -1.0F * f1;
this.Back_Right.rotateAngleX = MathHelper.cos(f * 1.0F) * 1.0F * f1;
this.Front_right.rotateAngleX = MathHelper.cos(f * 0.6662F + (float) Math.PI) * 2.0F * f1 * 0.5F;
this.Front_Left.rotateAngleX = MathHelper.cos(f * 0.6662F) * 2.0F * f1 * 0.5F;