elodin icon indicating copy to clipboard operation
elodin copied to clipboard

Resume simulation at later point

Open shanecelis opened this issue 3 months ago • 0 comments

Need

Given a database, resume a simulation instead of re-simulating it from the beginning.

Problem

The simulation cannot be given a database, read the last or a chosen time, and resume its computation from there.

Solution 1

Add a load_db keyword that will use that database. If load_time is given, use that; otherwise use the last frame in the database as the load point, load the DB values into the simulation and run from there.

world.run(load_db="/path/to/file.db", load_time=0.5)

Source

Sung provided this issue.

shanecelis avatar Sep 26 '25 19:09 shanecelis