Page 1 of 1

The Same .json File, but Different Results.

Posted: Fri Aug 09, 2013 10:09 am
by sijieshuai
I have a .json file exported by R.U.B.E, and I ran it on my device(iPhone), but I got different result animations on R.U.B.E and my device. I suspected that the different time steps size leaded to those. So, I want to know the time step size you used in R.U.B.E, and any other reasons for the different results, thanks very much!!! :D

Re: The Same .json File, but Different Results.

Posted: Fri Aug 09, 2013 10:36 am
by iforce2d
It's probably due to differences in floating point calculation between the two processor architectures. You cannot assume that you will get the same results on different devices, not even between different types of iPhone. Try googling "box2d determinism" for many discussions about this subject.