Interpolated vars need reset counters

MOOtantMOOtant Join Date: 2010-06-25 Member: 72158Members
When you look at minimap and see players fly through half of the map on spawn/phase it means that client interpolates with old position even though it should only use the new one.

Source has counter modulo 8 for interp vars so interp var reset is signaled by ctr=ctr + 1 % 8. Client resets its interp history on ctr value change.

Comments

  • Laosh'RaLaosh'Ra Join Date: 2011-12-09 Member: 137232Members
    edited February 2012
    <!--quoteo--><div class='quotetop'>QUOTE </div><div class='quotemain'><!--quotec-->interpolates with old position even though it should only use the new one.<!--QuoteEnd--></div><!--QuoteEEnd-->
    i didn't look at the code, but don't you think incorporating the old positions allows much smoother transitions? if you reset periodically it might stutter a bit on every reset. however, i guess a reset should be done whenever a player is teleported (as in beacon, phase).
Sign In or Register to comment.