Ive finally got the multilayer running in my game using raknet and i knew this would be an issue , but i cant seem to find out how to fix it.
Im sending player packets to the server every 150ms and so when each message is returned to the other players the movement is jerky, Ive read i need to add some sort of interpolation or position prediction so that i can fix the issue.
I saw in the documentation some functions dbHermiteVector, dbLinearInterpolateVector,dbSetObjectInterpolation. ive tried dbSetObjectInterpolation and its not quite what im looking for, so how would i go about using these other functions assuming those are the ones i need.
if(You.AddCode.toPost)TGC.Users.CanHelp = true;
else return NoCodeMessage;