Uploaded image for project: 'Minecraft (Bedrock codebase)'
  1. Minecraft (Bedrock codebase)
  2. MCPE-108385

Baby mobs' limbs have extreme angles when walking

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.17.20.23 Beta, 1.17.10, 1.17.20.20 Beta, 1.16.230.52 Beta, 1.16.220.50 Beta, 1.16.210.54 Beta, 1.16.210.51 Beta, 1.16.210.50 Beta, 1.16.30.57 RTX Beta, 1.16.200.57 Beta, 1.16.1, 1.16.100, 1.16.101 Hotfix, 1.16.200, 1.16.201 Hotfix, 1.16.210, 1.16.221 Hotfix, 1.17.0, 1.17.2 Hotfix, 1.19.63, 1.20.30.25 Preview, 1.20.15 Hotfix, 1.21.31 Hotfix
    • Confirmed
    • Multiple
    • 486453

      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":
      • 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.

        1. Default Animation.mp4
          6.82 MB
          Daniel
        2. Fixed Animation.mp4
          5.32 MB
          Daniel
        3. Global Java Parity Patch Res.mcpack
          224 kB
          Daniel
        4. image-2020-11-27-19-17-12-459.png
          63 kB
          Daniel
        5. image-2020-11-27-19-22-59-119.png
          187 kB
          Daniel

            Faradey8951 Daniel
            Votes:
            27 Vote for this issue
            Watchers:
            14 Start watching this issue

              Created:
              Updated:
              CHK: