3 ms·
nope, a true physics engine behaves the same time, always - if there are no outside forces. if you kick stuff around (use your mouse of fingers on touch devices
by franze 14y ago
nope, a true physics engine behaves the same time, always - if there are no outside forces. if you kick stuff around (use your mouse of fingers on touch devices) == outside force -> different outcome
this 2d world has no intrinsic random/chaotic forces (i.e. no wind) so everything behaves the same, always, forever. if you want your world to be more random you could write something like this (during the world initiation phase a.k.a. the first box2d-jquery call)
$("h1, code, .box2d").box2d({'y-velocity':5, 'x-velocity':Math.random()}
- jasin 14y agoHowever, different binaries may generally yield slightly different results due to compilers ordering floating-point operations differently, for example.
- franze 14y agolike schrödingers cat for physics engines? but with the difference as long as it is the same box, the outcome is always the same?
- lucian1900 14y agoThat is what physics engines tend to aim for. Some even guarantee portably stable results.
- alxbrun 14y agoWhat happens to the Heisenberg principle ??? :P