Citizens2 icon indicating copy to clipboard operation
Citizens2 copied to clipboard

When NPC looks around, the animation is smoother

Open luoxiawuchen opened this issue 2 years ago • 3 comments

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: image 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

luoxiawuchen avatar Apr 18 '22 13:04 luoxiawuchen

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)

mcmonkey4eva avatar Apr 23 '22 08:04 mcmonkey4eva

Actually also, I believe this is essentially a duplicate of #2247 ? Albeit a more detailed one

mcmonkey4eva avatar Apr 23 '22 08:04 mcmonkey4eva

i would use /npc look

BigMeowcatsunny avatar May 15 '22 21:05 BigMeowcatsunny