mojira.dev
MCPE-108385

Baby mobs' limbs have extreme angles when walking

Minecraft Bedrock incorrectly applies some mobs' animations. For example (on video), the baby zombie has very strange leg rotation angles when walking. This is the same for many mobs like pigs, sheep, cows, horses, villagers, piglins, zombies, etc.

Steps to Reproduce

  1. In a creative world, spawn baby zombies.

  2. Observe their legs.

  3. Notice that their legs move unnaturally when running/walking, sometimes exceeding the spread of 180 degrees.

Observed results:
Bedrock: Running mobs spread their legs unnaturally wide, ranging from ~180 to more degrees. Baby mobs speed is also not adjusted to their size.
Java: Legs of a running mob stay at an angle of around 100 degrees.

Expected results:
Mobs animations are uniform across Bedrock and Java.

This problem is not within the mob's entity file, animations or animation controllers:

  • Example case: "{{zombie.entity.json}}":

    [media]
  • Note that the default zombie animation formula doesn't change for the baby version of the mob. The issue is in the fact that the query "query.modified_move_speed" used by most mobs' walking animations is unnecessarily modified by the is_baby status flag, affecting the rotation ranges when multiplied.

How to fix:

  • Remove the effect is_baby has on query.modified_move_speed;

  • Make query.modified_distance_moved adapt according to the model scale (Taken from the entity's behavior file, similar to query.model_scale):
    — Example: a zombie that is half the size of a normal zombie should make double the effort to walk at the same pace.

Linked issues

Attachments

Comments 7

I noticed that too, it was weird seeing them especially for baby one. The legs isnt synced and just moving entity with legs moving independently.

I'm glad this bug has been reported. This has been bothering me for ages but I've always been focused on other bugs. I hope this bug gets more recognized.

⚠️ Please do not mark Unreleased Versions as affected. You don't have access to them yet.

-- I am a bot. This action was performed automatically! Please report any issues on Discord or Reddit

How long will we experience this ugly animations?

Daniel: Could you tell us which mobs are supposed to be fixed in your resource pack? It looks like it includes a lot of files that are unchanged from vanilla.

still affect 1.19.51 Hotfix

Updated title and description to include more accurate information.

Daniel

(Unassigned)

486453

Confirmed

Multiple

animation, java-parity, mobs, speed

1.17.20.23 Beta, 1.17.10, 1.17.20.20 Beta, 1.16.230.52 Beta, 1.16.220.50 Beta, ..., 1.17.2 Hotfix, 1.19.63, 1.20.30.25 Preview, 1.20.15 Hotfix, 1.21.31 Hotfix

Retrieved