mojira.dev
MCPE-144870

Command Tp(Teleport) work unexpected

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

Linked issues

Comments 3

Thank you for your report!

However, this issue has been temporarily closed as Awaiting Response.

Is this still an issue in the latest version? If yes, can you please add it to the affected versions (or mention it if you are not the reporter)?

This ticket will automatically reopen when you reply.

Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki

@@unknown This feedback has been updated. This issue still affects the latest version.

In version 1.19.10.21 Preview , the problem has been fixed.

Happy2018new

(Unassigned)

726855

Confirmed

Multiple

Windows 10 18363.1256

/teleport, /teleport-facing, /tp, Command, Facing, tp-rotation

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.12 Hotfix, 1.18.30, 1.18.31, 1.19.1 Switch, 1.19.0

1.19.10.21 Preview, 1.19.10

Retrieved