+1 vote

Something I discovered

I don't know if I should report this to the github or not but I found a problem with get_tree().paused where if I set it the collision detection of the scene, of everything in the scene.

Even the whitelisted objects.

What is happening here?

in Engine by (57 points)
edited by

Do you mean pausing stops collisions? I think it's normal, the pause whitelisting is more used for nodes who would have non-physics scripts/timers or whatever running, but I think that when game is paused, as above, physics are stopped.

https://docs.godotengine.org/en/3.1/tutorials/misc/pausing_games.html

2D and 3D physics will be stopped.
_process and _physics_process will not be called anymore in nodes.
_input and _input_event will not be called anymore either.

Thank you for that, I'll try out something else.

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.