unity-deterministic-physics icon indicating copy to clipboard operation
unity-deterministic-physics copied to clipboard

rollback?

Open logixworx opened this issue 4 years ago • 1 comments

Is it possible to roll back the physics engine to an earlier state with collisions?

logixworx avatar Oct 16 '21 09:10 logixworx

You can use PhysicsWorld.Clone() to create a snapshot of the current state of the physics world, and you simply use the snapshot physics world when you want to roll back the state.

Kimbatt avatar Oct 17 '21 19:10 Kimbatt