Lurker News

Comments (127) 36 threads

Show all comments

Showing thread 5 of 36

funkaster1 reply#
> the result varies depending on the FPS and your actions.

you should try to decouple physics simulation from your rendering code. (i.e. pass a constant/fixed dt to your simulation step). simulation should not depend on framerate.

codeulike1 reply#
But with a chaotic system like fluid dynamics, you wont get the same behaviour each time even if you do stuff like pass delta-t to the simulation. Sensitive dependence on initial conditions, and all that chaos theory stuff comes in to play.

That is, two run-throughs with very slightly different delta-t's will give different outcomes.

saulrh#
There's a difference between "numerical stability issues introduce small chaotic perturbations" and "the game is literally unbeatable if you play on platform X because the physics step doesn't properly scale Y to framerate and a trivial conservation-of-energy analysis yields an impossibility result for level 3".