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

The rotation vector of projectiles has negated x and y values

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.20.40.20 Preview, 1.20.20.23 Preview, 1.20.20.20 Preview, 1.20.10.20 Preview, 1.19.63, 1.19.83 Hotfix, 1.20.1 Hotfix, 1.20.12 Hotfix, 1.20.15 Hotfix, 1.20.30, 1.20.50.22 Preview, 1.20.50.21 Preview, 1.20.40, 1.20.60.21 Preview, 1.20.73 Hotfix, 1.20.80, 1.21.1 Hotfix, 1.21.44 Hotfix
    • None
    • Confirmed
    • Multiple
    • 995418

      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 tridents does not match the model /travel direction. The model represents the correct angle for the shot. The local coordinates should point into the direction that the projectile would travel in.

      The axis are highlighted by the structure (x: red, y: green, z: blue)

      Command used in a repeating command block to visualize the issue:

      /execute at @e[type=thrown_trident] run particle minecraft:mobflame_single ^ ^ ^5

      This report is an edited copy of the java edition equivalent: MC-112474.

      Steps to reproduce:

      • Place a repeating command block running the following command:
        /execute at @e[type=thrown_trident] run particle minecraft:mobflame_single ^ ^ ^5
      • Throw a trident
      • Observe where the particle is spawned, compared to the trident

      Expected result:
      The particle is spawned in front of the trident

      Actual result:
      The particle direction is incorrect on the x and y axis.

        1. inverted x 1.png
          inverted x 1.png
          583 kB
        2. inverted x 2.png
          inverted x 2.png
          612 kB
        3. inverted x 3.png
          inverted x 3.png
          960 kB
        4. inverted x 4.png
          inverted x 4.png
          1.24 MB
        5. inverted x and y.png
          inverted x and y.png
          1.51 MB
        6. inverted y 1.png
          inverted y 1.png
          746 kB
        7. inverted y 2.png
          inverted y 2.png
          478 kB
        8. MCPE-168108.mp4
          5.49 MB

            zTxrbq [Mod] turbo
            Votes:
            8 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              CHK: