Yes , I am updating the ping constantly.
After testing a few times , the first time after I posted I got, again, variable result, but now its stable again. No reason, no change.
Just tested 2 times , fixed error between current and predicted position.
I'll try to see if the predicted is further then the current position and I'll try sending a prediction with different combinations of 200ms and latency time / 2 added or substracted and I'll post again.
EDIT: Unstable again, gives variable results. I have no idea what is wrong. Latency is fixed at 7ms.
I gave some tought on this one
if(my.update_time_passed >= 20)
{
my.update_time_passed += time_step;
}
time_step times 75 frames (on 60fps) gives 20. I'm not updating very often
Any idea how to make it count in ms? This ticks stuff is extremely confusing...