Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rollback? #6

Open
logixworx opened this issue Oct 16, 2021 · 1 comment
Open

rollback? #6

logixworx opened this issue Oct 16, 2021 · 1 comment

Comments

@logixworx
Copy link

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

@Kimbatt
Copy link
Owner

Kimbatt commented Oct 17, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants