Look at player behavior doesn't persist through transformation.
Partner Rank: 3
Partner Team Reporting: Noxcrew
Verification builds and Platforms: Minecraft.Windows_1.14.2000.0_x64_UAP.Publish_Test Minecraft - Publish_3624217
Summary:
When a mob has "minecraft:behavior.look_at_player", and is then transformed into another entity which also has "minecraft:behavior.look_at_player", they face 0 rotation, then turn back to face the player.
Impact:
We transform the mob to another, then back, as an easy, repeatable, performance friendly way to track player interaction with NPCs and have them relay information to the player. This quick-snap teleport and then look back interaction makes this mechanic appear broken to the player.
Repro Steps:
- Get the world for this bug from @greggo on slack
- Open the world
- /summon noxcrew:wc.mechanic_el_oro
- Rotate off the initial look axis so the NPC is not facing the default direction
- Right click the NPC (interact)
- Notice the new NPC snaps to 0 rotation, then slowly looks back.
Observed Results:
The NPC snaps to 0 rotation then looks back.
Expected Results:
The NPC should already be looking at the player.
Screenshots/Videos attached:
I made one but it won't upload. I'll either figure it out and add it or send it to Greg on slack.