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

query.position(1) [For Y-axis] has error in value.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Awaiting Response
    • None
    • 1.20.51 Hotfix
    • None
    • Unconfirmed
    • Windows

      I was working on a project where I needed to use the q.position(1) function, which gives the y coordinate. But while working with the function I faced some issues and that's because the function was returning wrong value.

      Ex- For Y-coordinate 0, it was showing 1.62 (Pictures)

      I rendered the value on screen and took some screenshots.

      N.B - Values were multiplied by 10000. So, it's more accurate. Minus sign not rendered.

        1. Image - 1.png
          109 kB
          YA_Rifat
        2. Image - 2.png
          17 kB
          YA_Rifat
        3. Image - 3.png
          21 kB
          YA_Rifat
        4. Image - 4.png
          267 kB
          YA_Rifat
        5. Image - 5.png
          512 kB
          YA_Rifat

            YA_Rifat YA_Rifat
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: