Feet face aim yaw when leaning#1955
Feet face aim yaw when leaning#1955AdamTadeusz wants to merge 4 commits intoNeotokyoRebuild:masterfrom
Conversation
|
There's a problem on master especially noticeable with bots at the very start of freeze time where the upper body rotation stutters when moving while feet are planted in one spot. I've included a janky fix for that since its more noticeable on this PR with the feet following the player aim when leaning. |
|
@Rainyan I've noticed there is a hitch when moving between an angle of -180 and 180 when leaning. the issue seems to be in CMultiPlayerAnimState::ConvergeYawAngles where the value flDeltaYawAbs used to calculated the scale and therefore speed of rotation is calculated before the change in angle is normalized, so flScale will jump up to a value far greater than it should be, then get clamped down to 1 resulting in a small jitter as the rotation speeds up then slows down when moving between the two angles hitchWhenMovingBetween180andMinus180.mp4 |
Description
Move feet to aim towards the aim yaw when leaning, making peeking around corners at certain angles more fair
Toolchain