Describe the bug
When changing "holdtype" from none to holditem (or the other way around), the arms are snapped to the rotation they were at before the holdtype was changed.
To Reproduce
Change citizen holdtype from 0 to 4
Rotate the player 180 degrees
Set holdtype back to 0
Expected behavior
The arms should raise and lower to the correct relative position regardless of rotation that occurred.
Describe the bug When changing "holdtype" from
none
toholditem
(or the other way around), the arms are snapped to the rotation they were at before the holdtype was changed.To Reproduce
Expected behavior The arms should raise and lower to the correct relative position regardless of rotation that occurred.
Video Demonstration
https://user-images.githubusercontent.com/33941498/128913246-6a1a7999-5415-42e3-87d3-a5cdc770cd4d.mp4
Additional context The following code was used in the pawns
Simulate
method to produce the bug.