This site is currently in read-only mode during migration to a new platform.
You cannot post questions, answers or comments, as they would be lost during the migration otherwise.
0 votes

Hi, I'm looking for a way to add undo option to my project. My initial idea is crating packed scene for all needed nodes and revert back to original node all values. How can I do that?

Another idea is removing and replacing node using packed scene but it's making few issue with my actual code.

Maybe someone have another idea how to achieve step back functionality?

in Engine by (228 points)

Are you thinking about like a rewind (Prince of Persia) functionality?

Here is a video showing rewind and the author offered to make a tutorial. I was also thinking you could use a separate animation player for each node and save the state each frame and then play it backwards when you want to rewind. Trick would be temporarily disabling the physics and then initializing it again after rewind.

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.