Closed kellarius closed 3 years ago
Yes, the body yaw is separate from the head yaw and would need dedicated tracking. This might be possible to add, so I'll mark as a feature request.
Looks like more of a bug since /npc pose should set body and head yaw to be the same. Is this still an issue?
In current version (git-Spigot-766dab2-b9a2a74 (MC: 1.14)
and Citizens version 2.0.25-SNAPSHOT (build 1654)
), head yaw is hopelessly broken. Have opened as new issue #1753
Can recheck this after that's fixed.
Head yaw and body yaw are indeed set to the same value, and NPCs do indeed remain facing the correct direction after leaving and coming back. However, body yaw would ideally not be the same head yaw, and instead be actually tracked on its own, as its underlying value is independent.
There's an experimental fix for this in current dev builds @ https://ci.citizensnpcs.co/job/Citizens2/
The npcs heads are easily posable with the /npc pose command (even if just horizontally, not sure if its a bug), and you can make his body face the direction you want with it:
However, when you go far away and come back, the NPC's body is reset to the original position, making it impossible to make a straigth-facing npc: