OpenXRay / xray-16

Improved version of the X-Ray Engine, the game engine used in the world-famous S.T.A.L.K.E.R. game series by GSC Game World. Join OpenXRay! ;)
https://discord.gg/sjRMQwv
Other
3k stars 455 forks source link

Third person animations can play erroneously if move state is updated while anim is playing #1650

Open yohjimane opened 7 months ago

yohjimane commented 7 months ago

Describe the bug If move state is updated while a third person animation is playing, it could cause strange updates during specific hud state / third person animation combos.

To Reproduce Steps to reproduce the behavior:

  1. Start a long animation
  2. Wiggle back and forth
  3. animation will get stuck, or replay depending on how long you wiggle for. See video attached

Expected behavior Animation locked in once started so it matches the hud state better

Screenshots, videos

https://github.com/OpenXRay/xray-16/assets/11345783/f5051338-ca14-4ddc-bae6-78cf81e6d002

Desktop (please complete the following information):

yohjimane commented 7 months ago

I have this fixed in OXR Gunslinger, just tracking it here so i don't forget to port it over.