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

Teleports greater than ~0.5 blocks are choppy

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • None
    • 1.17.40.23 Beta, 1.17.40.21 Beta, 1.17.20.21 Beta, 1.17.2 Hotfix, 1.17.30, 1.17.32
    • None
    • Confirmed
    • Windows
    • 280755

      The bug

      When a mob is teleported 0.5 blocks or further than blocks during a tick, its movement is very choppy. Movements less than 0.5 blocks look nice and smooth. Stacking multiple teleports (such as teleporting by 0.3 twice for a total of 0.6) result in choppy movement as well.

      This affects almost every teleport in practice because how often are you teleporting by less than half a block?

      How to reproduce

      1. Download the attached world
      2. Press the button in the middle

      Observed results
      The pig moves smoothly but the cow stutters.

      Expected results
      Both entities move smoothly.

      Information

      The pig is teleported at 0.499 blocks per tick, and the cow at 0.5.

      This affects tons of custom maps and makes quick teleport-based movement look really bad in bedrock edition.

      Watch the pig.mp4 video for a super obvious example. I'm constantly teleporting this pig in the direction I'm looking. If I move the camera too much, its movement becomes extremely stuttery.

        1. Minecraft 2021-07-06 16-10-53.mp4
          5.69 MB
        2. pig.mp4
          4.32 MB
        3. teleport bug.mcworld
          71 kB

            tryashtar [Mod] tryashtar
            Votes:
            5 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: