Skip to content

Repeat simulation with different dt #7

Description

@proepkes

If a simulation (using forces) is repeated with a lower deltatime (for example 1/120 instead of 1/60), the resulting state will be different even after the 1/120-simulation processed twice as many frames

Is it possible to repeat a simulation with a different framerate and come up with the same result?

I think setting the force to 0 after it has been applied causes the differences, maybe it should be lowered depending on dt? Or the force has to be applied without using dt?

b->force.Set( 0, 0 );

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions