Citizens2
Citizens2 copied to clipboard
When NPC looks around, the animation is smoother
I confirm that I have ...
- [X] ...tried the latest Development Build to make sure my feature doesn't exist already.
- [X] ...checked the Wiki for any possible information about my feature.
- [X] ...checked other existing issues for my feature request.
Description
When I use /NPC lookclose -- randomlook true to turn on random looking around, NPC rotation is completed in an instant, rather than a smooth animation transition. The larger the random rotation range is set, the more obvious this "jamming" is
Or it can be described in this way. When NPC looks around at random, their body rotates too fast, which seems strange
I think this video presentation can illustrate this more intuitively:
https://app.tmp.link/index.html?tmpui_page=/file&ukey=625d68154ac54
I hope it can make NPC's animation smoother when looking around. I think it will be more natural
Code Example
No response
The commit https://github.com/CitizensDev/Citizens2/commit/f358f6fb2ecd544125a24441d6dbbd7d720062f3 is initial work towards this (but not actually implementing proper smoothness yet, presumably a followup commit will actually implement it all the way)
Actually also, I believe this is essentially a duplicate of #2247 ? Albeit a more detailed one
i would use /npc look