![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
Asked By | andrej88 |
The most promising thing I’ve found so far is the debug_collisions_hint
property of SceneTree. However, it seems to be a bit finicky: If I set the field to true inside of _ready()
, then collision shapes will be visible. But if I try to change its value later (in _unhandled_key_input()
specifically), nothing happens.
I just need this for debugging purposes, but it’d be nice not to have to close the game, manually toggle the option, and restart the game every time.