Re: About setting custom "dt"
Posted: Thu May 30, 2013 9:26 am
I don't really see why you'd need a set time step for that. It's certainly easier that way, but not an absolute requirement. You could absolutely create an at least approximate solution using dt. It wouldn't be perfectly deterministic but if you do it well it would probably be good enough.misterspok wrote:Well, the result is not identical! The timescale required to be identical. The result you get is continously updated vertical and horizontal velosities (pardon me, radial and tangential would be more accurate), altitude and distance. Also, during the burn, propellant mass will decrease, causing reactive acceleration to increase. That is why I need to repeat the same simulation continously, if I understood your question right.T-Bone wrote:I'm also curious why you would need to repeat the same simulation twice with exactly identical results.
Though I will try Robin's solution and report here as soon as I can.
Edit: Well, Robin's solution seem to work damn fine to me I got some legit results now. Now I just regret that I don't have enough programming skill yet to figure it out by myself Thank you.
But yeah, Robin's solution is much easier.
Also, about Box2D: As you can read in the text you posted, Box2D isn't really deterministic (although it is true that it doesn't depend on the time step (which isn't always a good thing)).