mojira.dev
MCPE-168108

The rotation vector of projectiles has negated x and y values

The rotation of projectiles (arrows, snow balls, tridents, ...) is incorrect, its vector has negated x and y values. As you can see in the attached images, the rotation tridents does not match the model /travel direction. The model represents the correct angle for the shot. The local coordinates should point into the direction that the projectile would travel in.

The axis are highlighted by the structure (x: red, y: green, z: blue)

Command used in a repeating command block to visualize the issue:

/execute at @e[type=thrown_trident] run particle minecraft:mobflame_single ^ ^ ^5

This report is an edited copy of the java edition equivalent: MC-112474.

Steps to reproduce:

  • Place a repeating command block running the following command:

    /execute at @e[type=thrown_trident] run particle minecraft:mobflame_single ^ ^ ^5
  • Throw a trident

  • Observe where the particle is spawned, compared to the trident

Expected result:

The particle is spawned in front of the trident

Actual result:
The particle direction is incorrect on the x and y axis.

Linked issues

Attachments

Comments 6

Still an issue

Steps to reproduce

  1. Make a setup from picture attachments

  2. use command block and set repeat then use from description

  3. Throw trident to white block

Affects in 1.20.10.20 Preview & 1.19.83

Affects inΒ 1.20.1 & 1.20.20.20 Preview

Thank you for your report!
After consideration, the issue is being closed as Won't Fix.

Please note that this is not the same as Working as Intended, as this bug report correctly describes behavior in the game that might not be the intended or desirable behavior, but it will not be fixed right now. Sometimes, this is because the issue reported is minor and/or impossible to change without large architectural changes to the code base.

Quick Links:
πŸ““ Bug Tracker Guidelines – πŸ’¬ Community Support – πŸ“§ Mojang Support (Technical Issues) – πŸ“§ Microsoft Support (Account Issues)
πŸ““ Project Summary – ✍️ Feedback and Suggestions – πŸ“– Game Wiki

user-f2760

[Mod] turbo

(Unassigned)

995418

Confirmed

Multiple

1.20.40.20 Preview, 1.20.20.23 Preview, 1.20.20.20 Preview, 1.20.10.20 Preview, 1.19.63, ..., 1.20.60.21 Preview, 1.20.73 Hotfix, 1.20.80, 1.21.1 Hotfix, 1.21.44 Hotfix

Retrieved