My Mob's Feet/Face don't move with their Legs/Head

Started by nods0123 on Sat, 05/09/2015 - 09:47
Last seen on 14:52, 8. Jul 2017
Joined Apr 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
My Mob's Feet/Face don't move with their Legs/Head
Sat, 05/09/2015 - 09:47

My Mob's Feet doesn't move with it's Legs and my Mob's Eyes, Mouth, (PikaCheeks) and so on, don't move together, I have the little "Blue Ball" touching each other for each and every piece, I've tried conjoining the eyes with the face, It still doesn't work..

PLEASE HELP :D

Last seen on 00:23, 19. Nov 2017
Joined Aug 2013
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
  • wiki contributor
  • moderator
This works for me:
Sat, 05/09/2015 - 23:50

This works for me:

when you are making mob, mcreator task for which part is head, leg and arm.

use for thing what ou want the main part ( head, leag)

go to source code of your mod and

find something liek this:

super.setRotationAngles(f, f1, f2, f3, f4, f5, e); this.WolfHead.rotateAngleY = f3 / (180F / (float)Math.PI); this.WolfHead.rotateAngleX = f4 / (180F / (float)Math.PI); this.Leg2.rotateAngleX = MathHelper.cos(f * 1.0F) * -1.0F * f1; this.Leg1.rotateAngleX = MathHelper.cos(f * 1.0F) * 1.0F * f1; this.Leg3.rotateAngleX = MathHelper.cos(f * 0.6662F + (float)Math.PI) * 2.0F * f1 * 0.5F; this.Leg4.rotateAngleX = MathHelper.cos(f * 0.6662F) * 2.0F * f1 * 0.5F;   and here write this:   this.nameofsecondpart.rotateAngleY = this.firstpart.rotateAngleY; this.nameofsecondpart.rotateAngleX = this.firstpart.rotateAngleX;   EXAMPLE: I want create wolf but nose dont roate with head. I edit my code to:   super.setRotationAngles(f, f1, f2, f3, f4, f5, e); this.WolfHead.rotateAngleY = f3 / (180F / (float)Math.PI); this.WolfHead.rotateAngleX = f4 / (180F / (float)Math.PI); this.Leg2.rotateAngleX = MathHelper.cos(f * 1.0F) * -1.0F * f1; this.Leg1.rotateAngleX = MathHelper.cos(f * 1.0F) * 1.0F * f1; this.Leg3.rotateAngleX = MathHelper.cos(f * 0.6662F + (float)Math.PI) * 2.0F * f1 * 0.5F; this.Leg4.rotateAngleX = MathHelper.cos(f * 0.6662F) * 2.0F * f1 * 0.5F; this.Nose.rotateAngleY = this.WolfHead.rotateAngleY; this.Nose.rotateAngleX = this.WolfHead.rotateAngleX; this.Ear1.rotateAngleY = this.WolfHead.rotateAngleY; this.Ear1.rotateAngleX = this.WolfHead.rotateAngleX; this.Ear2.rotateAngleY = this.WolfHead.rotateAngleY; this.Ear2.rotateAngleX = this.WolfHead.rotateAngleX;   BTW: my english is very bad
Last seen on 14:52, 8. Jul 2017
Joined Apr 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Thanks, You lil' Life Saver
Sun, 05/10/2015 - 09:29

Thanks, You lil' Life Saver You!

Last seen on 14:52, 8. Jul 2017
Joined Apr 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
RE:This works for me:
Sun, 05/10/2015 - 09:42

It actually isn't working...

 

Last seen on 14:52, 8. Jul 2017
Joined Apr 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
nvm MC just went ahead and
Sun, 05/10/2015 - 09:50

nvm MC just went ahead and deleted the code I made.... I did press Save... But yea, now it's working