Interpolating Data

Blitz3D Forums/Blitz3D Programming/Interpolating Data

ICECAP(Posted 2005) [#1]
I found this in the code archives... but i still cant see how to use it.

http://www.blitzbasic.com/codearcs/codearcs.php?code=825

I mean i know how to predict one second ahead but then it goes and confuses me by adding another point in and predicting one second behind that?

HELP!!

I just cant understand what is going on.

Has anyone ever used this method in an actual game made in blitz?

A little bit of help would be much appriciated.


jfk EO-11110(Posted 2005) [#2]
I don't know the code you linked to, but the way I understand it is: you can only predict one point, probably based on bezier curves or something. You will use the predicted point as long as you don't know the REAL next point. In a muliplayer enviroment, where prediction is used to sync the players movement (aka dead reckoning) you will have to correct each players position after receiving their true location.

After the correction of the predicted point it became a real point and you'll be able to predict the next one.

I hope I didn't misunderstood your question.