Hi,
I have a weird error while I'm interpolate two vector2
I have the same problem if I use:
Mathf.Lerp
LinearInterpolate
firstVector.x + 100 * (firstVector.x - secondVector.x)
var newPosition = firstVector.LinearInterpolate(secondVector, interpolationFactor);
some results when I move my player in TileMap:
vector x vector x result x
5805.578 6196.863 6.380059E+14
vector y vector y result y
9215.999 9172.226 -7.016433E+13
if player is still I have a normal result. like:
9635 9635 9635
I tried to use a loop to print tons of interpolation without errors.
Also I tried to set fps to 1 but still the error come out.
It run inside physics process.
I'm missing something? ps: I use C# and v3.4.beta4.mono.official [6a058cbf3]
Thanks