Skip to content

constants Interpolation (client-side)

Name Description
DEFAULT_INTERPOLATION Represents default interpolation mode.
By default g2o interpolate between current player position and target player position,
to make movement feel more smooth.
OLD_INTERPOLATION Represents old interpolation mode.
This mode will cause players to be interpolated by the const ratio, on each individual axis.
It doesn't get the time into account, so with incosistent frame rate, it will look strange.
NO_INTERPOLATION Represents no interpolation mode.
This mode will cause players to have set position directly from sync packet without interpolating.