Mutable compound shapes and deterministic roll back #1391
-
The Being Sloppy While Still Being Deterministic section of the documentation mentions :
What would be the best way to handle mutable compound shapes modifications when rolling back to a previous simulation state ? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Keeping a history is currently indeed the only way you can restore shapes to their previous state. If this is impractical, I can add a method that allows inserting a shape in the middle. |
Beta Was this translation helpful? Give feedback.
-
I added the ability to add a sub shape at a particular index in #1414 |
Beta Was this translation helpful? Give feedback.
Keeping a history is currently indeed the only way you can restore shapes to their previous state. If this is impractical, I can add a method that allows inserting a shape in the middle.