Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-112474

The rotation vector of projectiles has negated x and y values

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • Minecraft 1.11.2, Minecraft 17w06a, Minecraft 1.12 Pre-Release 1, Minecraft 1.12 Pre-Release 2, Minecraft 1.12 Pre-Release 3, Minecraft 1.12 Pre-Release 4, Minecraft 1.12 Pre-Release 5, Minecraft 1.12 Pre-Release 6, Minecraft 1.12 Pre-Release 7, Minecraft 1.12, Minecraft 17w31a, Minecraft 1.12.1 Pre-Release 1, Minecraft 1.12.1, Minecraft 1.12.2 Pre-Release 1, Minecraft 1.12.2 Pre-Release 2, Minecraft 1.12.2, Minecraft 17w43a, Minecraft 17w43b, Minecraft 17w45a, Minecraft 17w46a, Minecraft 17w48a, Minecraft 17w50a, Minecraft 18w01a, Minecraft 18w02a, Minecraft 18w03b, Minecraft 18w06a, Minecraft 18w09a, Minecraft 18w10d, Minecraft 18w14b, Minecraft 18w16a, Minecraft 1.13-pre1, Minecraft 1.13-pre3, Minecraft 1.13-pre5, Minecraft 1.13-pre6, Minecraft 1.13-pre10, Minecraft 1.13, Minecraft 18w30b, Minecraft 18w31a, Minecraft 1.13.1, Minecraft 1.14.2, 1.14.4, 19w37a, 1.15 Pre-release 6, 1.15.1 Pre-release 1, 1.15.2, 20w18a, 1.16.2, 1.16.3, 20w49a, 20w51a, 21w03a, 1.16.5, 21w05b, 21w06a, 21w07a, 21w08b, 21w13a, 1.17, 1.17.1, 1.18.1, 1.18.2, 22w19a, 1.19, 1.19.2, 1.19.4, 1.20.1, 1.20.2 Pre-release 2, 1.20.2, 23w41a, 23w43b, 1.20.4, 24w04a, 24w05a
    • Confirmed
    • Debug, Hitboxes, Projectiles
    • Normal
    • Platform

      The rotation of projectiles (arrows, snow balls, tridents, ...) is incorrect, its vector has negated x and y values. As you can see in the attached images, the rotation arrows/tridents have does not match the model/travel direction. The model represents the correct angle for the shot. The facing direction should match the direction that the projectile would travel in.

      Steps to reproduce:

      • Enable hitboxes. (F3+H)
      • Spawn a projectile of any kind (eg by throw tridents or shoot arrows).
      • Inspect the facing line of the projectile.

      Expected result:
      The facing line follows the direction of the projectile, matching the model.

      Actual result:
      The facing line does not follow the direction the projectile moves/is visually facing.

      This screenshot was taken while looking down from above. The x axis is vertical and goes upwards, the z axis is horizontal and goes to the right.

        1. 2017-01-13_22.52.41.png
          2017-01-13_22.52.41.png
          46 kB
        2. 2017-01-13_23.12.57.png
          2017-01-13_23.12.57.png
          50 kB
        3. 2021-07-03_05.19.08.png
          2021-07-03_05.19.08.png
          54 kB
        4. 2021-07-03_05.19.26.png
          2021-07-03_05.19.26.png
          52 kB
        5. example.jpg
          example.jpg
          133 kB
        6. MC-112474.mp4
          4.42 MB

            Unassigned Unassigned
            zTxrbq [Mod] turbo
            Votes:
            44 Vote for this issue
            Watchers:
            28 Start watching this issue

              Created:
              Updated:
              CHK: