Skip to content

constants Interpolation (client-side)

Name Description
DEFAULT_INTERPOLATION Represents default interpolation mode which is V2 model.
V2_INTERPOLATION Represents default V2 interpolation mode.
This mode will provide smooth position and angle interpolation.
Newly supported features are rotation animations and aiming.
V1_INTERPOLATION Represents default V1 interpolation mode.
This mode will 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.