Can you please help me find the problem? I am making a turret mob with a "base" and a "head". It extends EntityGolem, which extends EntityCreature, which extends EntityLiving. I have that annoying problem: the base rotates alongside the head! First, the head turns and tilts to face the target, then the body follows (exactly like a Snow Golem). I tried to solve that by taking the onLivingUpdate() from the Shulker (which also extends EntityGolem, has a stationary base and a rotating head):
Which also did absolutely nothing. The mob still rotates the baseplate and twitches it around the Y axis. But I didn't really expected it to, because the ModelShulker doesn't do anything to set its "base" part rotation to zero. So I removed that line.
Greetings everyone,
Can you please help me find the problem? I am making a turret mob with a "base" and a "head". It extends EntityGolem, which extends EntityCreature, which extends EntityLiving. I have that annoying problem: the base rotates alongside the head! First, the head turns and tilts to face the target, then the body follows (exactly like a Snow Golem). I tried to solve that by taking the onLivingUpdate() from the Shulker (which also extends EntityGolem, has a stationary base and a rotating head):
All it did was make the base plate twitch in place after rotating.
Out of desperation I went to my model file and added the lowermost line:
Which also did absolutely nothing. The mob still rotates the baseplate and twitches it around the Y axis. But I didn't really expected it to, because the ModelShulker doesn't do anything to set its "base" part rotation to zero. So I removed that line.
Here's my full model file, just in case.
How do I get certain parts of the model to be able to rotate and others to stay stationary?
Sorry if my question sounds stupid, but I only recently started modelling and was amazed when it actually rendered in-game
Thanks in advance, Dan