ok, it was a my fault, i used wrong variable as timestep in the second world, and also i was using reference to position instead of a copy to check the determinism. now it seems to work(on the same machine, 2000 step and is ok)
Can JBox2d be deterministic?
Javagood to hear! thanks for testing this out. fingers crossed for different machines
here the code i've written so far.
It is a netbeans project, it should be plug-n-play, or you can find the dependencies in the lib folder. it will run 10 step on 2 asincronous world, and then check the result of the first world with a preloaded file.
if you can test it on your machine and post results, i'll be very glad.
here the link:
http://www.megaupload.com/?d=ISXDSISO
It is a netbeans project, it should be plug-n-play, or you can find the dependencies in the lib folder. it will run 10 step on 2 asincronous world, and then check the result of the first world with a preloaded file.
if you can test it on your machine and post results, i'll be very glad.
here the link:
http://www.megaupload.com/?d=ISXDSISO
Original thread: https://box2d.org/forum/viewtopic.php?t=7074