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

Command Tp(Teleport) work unexpected

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Fixed
    • 1.19.0.35 Preview, 1.19.0.34 Beta, 1.19.10.20 Preview, 1.19.0.33 Preview, 1.19.0.32 Beta, 1.18.33 Hotfix, 1.18.32, 1.19.0.31 Preview, 1.19.0.30 Beta, 1.19.0.29 Preview, 1.19.0.28 Beta, 1.19.0.27 Preview, 1.19.0.26 Beta, 1.19.0.25 Preview, 1.19.0.24 Beta, 1.19.0.21 Preview, 1.19.0.20 Beta, 1.18.30.29 Preview, 1.18.30.28 Beta, 1.18.30.27 Preview, 1.18.30.26 Beta, 1.18.30.23 Preview, 1.18.30.22 Beta, 1.18.20.30 Preview, 1.18.20.29 Beta, 1.18.20.26 Preview, 1.18.20.25 Beta, 1.18.20.24 Preview, 1.18.20.23 Beta, 1.18.20.22 Preview, 1.18.20.21 Beta, 1.18.10.28 Beta, 1.18.10.27 Beta, 1.18.10.24 Beta, 1.18.0.24 Beta, 1.17.10.22 Beta, 1.16.210.55 Beta, 1.16.201 Hotfix, 1.17.0, 1.17.34, 1.17.41 Hotfix, 1.18.2 Hotfix, 1.18.11 Hotfix, 1.18.10, 1.18.30.21 Preview, 1.18.30.20 Beta, 1.18.30.30 Beta, 1.18.30.31 Preview, 1.18.30.33 Preview, 1.18.30.32 Beta, 1.18.12 Hotfix, 1.18.30, 1.18.31, 1.19.1 Switch, 1.19.0
    • 1.19.10.21 Preview, 1.19.10
    • Confirmed
    • Multiple
    • 726855

    Description

      Summary:

      The facing function of command tp will make the RX axis value obtained by the command executor inaccurate.

      Steps to Reproduce:

      Execute the following command in the chat bar.


      Note

      Each time a command is executed, the RX axis value of the command executor needs to be recorded.

      /tp ~ ~ ~ facing ~ ~1 ~
      /tp ~ ~ ~ facing ~1 ~10 ~
      

      Observed Results and Expected Results: 

      Commands Use Expected Results Observed Results
      /tp ~ ~ ~ facing ~ ~1 ~ Make the target look at position "~ ~1 ~".  RX=-90°
      (Target is looking straight up)
       RX≈-45°
      (The target looks upward approximately 45°)
      /tp ~ ~ ~ facing ~1 ~10 ~ Make the target look at position "~1 ~10 ~". RX=-arctan(10)≈-84.289°
      (The target looks upward approximately 84.289°)
      RX≈-45°
      (The target looks upward approximately 45°)
      • "RX" refers to the value on the RX axis after the command executor executes the above command.
      • The RX axis value refers to the vertical rotation Angle of the entity(X-axis rotation Angle).

      Notes:

      1. When using the facing function of command tp, if the facing position will make the RX axis value of the target meet "RX∈(-45°,45°)", the error of RX axis value will increase with the increase of |RX|.
      2. Generally speaking, when the facing position will make RX meet "RX∈[45°,90°][-90°,-45°]", the final RX axis value obtained by the target is always about 45° or -45°.

      Problem links:

      Is Duplicated By/Relates to

      1. MCPE-131283 Since a long time now the facing command in mcbe is broken. Completely

      2. MCPE-114950 Since a long time now the facing command in mcbe is broken. Completely

      3. MCPE-103822 The facing feedback of "/tp" command is wrong

      Attachments

        Issue Links

          Activity

            People

              eternity_hope Happy2018new
              Votes:
              10 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                CHK: