Page 1 of 1

SPF_INTERPOLATE inverted behaviour?

PostPosted: Wed Jul 25, 2018 12:49 pm
by DabbingSquidward
Using A_SetPitch on its own (for example in a firing state as recoil) works flawlessly, but appending the SPF_INTERPOLATE flag to it causes the view to jump when turning with the mouse during the duration of the pointer, as if the screen updates with 35Hz. This doesn't happen when turning with the keyboard, however. It also doesn't occur if "Smooth Mouse Movement" is set to on. This can be experienced in every mod where that flag is present, for example Trailblazer, Wildweasel's Mixed Tape Vol. 3 and older versions of Final Doomer.

Re: SPF_INTERPOLATE inverted behaviour?

PostPosted: Wed Jul 25, 2018 3:32 pm
by Marisa Kirisame
Huh... so it really was broken all this time. Well that explains things...

Re: SPF_INTERPOLATE inverted behaviour?

PostPosted: Sun May 19, 2019 1:38 pm
by phantombeta
This thread title is very misleading. What's going on here is that it's suddenly switching from ZDoom's weirdass method of smoothing mouse movement without interpolation to just simply using interpolation, and this causes it to rubberband.
Turning the "Smooth Mouse Movement" option on "fixes" it because literally all it does is force mouse movement to always use the very same interpolation that SPF_INTERPOLATE uses.