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

Disable SoftBody physics simulation when not visible #46921

Closed

Conversation

pouleyKetchoupp
Copy link
Contributor

No need to simulate the physics when hidden, for optimization purpose.

No need to simulate the physics when hidden, for optimization purpose.
@reduz
Copy link
Member

reduz commented Mar 20, 2021

Godot 4 now allows you to determine whether something is processing or not and it can be disabled with NOTIFICATION_PAUSED, I think we discussing adding hints to bodies on what happens if they are paused (I should write a proposal), would it make sense to also add softbodies to this proposal?

@pouleyKetchoupp
Copy link
Contributor Author

@reduz Yes, soft bodies could be part of this proposal as well. It would make sense to have specific settings for what happens in the physics simulation when paused, and then let visible only affect visuals. That would supersede this PR.

@pouleyKetchoupp
Copy link
Contributor Author

Superseded by #49834, closing.

@pouleyKetchoupp pouleyKetchoupp deleted the soft-body-hidden branch June 22, 2021 18:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants