Last updated
interpolateLastTickPos(
pos,lastPos):number
Interpolates a single coordinate between its previous and current tick value, using the current render partial ticks.
number
The coordinate as of this tick.
number
The coordinate as of the previous tick.
number
The coordinate where it should be drawn this frame.
Use this when you track positions yourself. For entities prefer interpolateEntityPosition.
Last updated