Tag Info

New answers tagged

2

Stabilizing the delta is not an option as I need different deltas for said effect, so I need to physics to be entirely independent there. Stabilising the delta time is your only option. If we could change the time step of a numerical integration and were guaranteed to get the same results, we could exploit this to get really accurate calculations with ...


2

Welcome to the wonderful world of integral calculus. Speed = distance / time Acceleration = distance / (time * time) So to get the correct answer you need to calculate the integral of your speed, and then the integral of your location. The math can be quite daunting, and in most cases it will be overkill and just make things more complicated. You can use ...


0

Calculating physics with a delta is generally not a good idea, not only because of the reasons you gave, but also because you get slightly different results every time you run the app even with similar frame rates, which already might be game breaking. Or, if the frame rate drops too low, fast moving objects can completely clip through each other. (Assuming ...



Top 50 recent answers are included