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

Tp with relative x rotation above 90 affects y rotation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Minecraft 15w49a
    • Minecraft 1.8.1, Minecraft 1.8.2-pre4, Minecraft 1.8.2-pre5, Minecraft 1.8.2-pre6, Minecraft 1.8.7, Minecraft 1.8.8, Minecraft 15w43c, Minecraft 15w44b, Minecraft 15w45a
    • None
    • Linux 64 bit, Java 8 update 31
    • Confirmed

      When using tp to modify x rotation, any value larger than 90 (or smaller than -90) will affect the y rotation.

      Example of expected behaviour:

      • Set default position: /tp ~ ~ ~ 0 -90
      • Reduce facing direction: /tp ~ ~ ~ ~ ~90

      Viewing x angle is now at 0

      Example of erroneous behaviour:

      • Set default position: /tp ~ ~ ~ 0 -90
      • Reduce facing direction: /tp ~ ~ ~ ~ ~91

      Viewing x angle doesn't change, and y angle changes to -180.
      I expected the x angle to increase by 91, going from -90 to 1.

            grum [Mojang] Grum (Erik Broes)
            cubethethird [Mod] CubeTheThird
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: