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

Tp with relative x rotation above 90 affects y rotation

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: 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
    • Fix Version/s: Minecraft 15w49a
    • Labels:
      None
    • Environment:

      Linux 64 bit, Java 8 update 31

    • Confirmation Status:
      Confirmed

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  CHK: