|Topic was automatically imported from the old Question2Answer platform.
I wonder if it’s possible to override _input(event) method.
My problem is that I have a
A class and a
B class which is subclass of
The A class has the
_input(event) method implemented. And I want to change the triggering keys on the
B class. The problem is that even though I implemented the
B and I don’t call the
._input(event), the input is still being handled by the
Any idea on how to solve this problem?
It seems that godot treats _input somehow different than it treats other functions. I solved this by calling _handle_my_own_input(event) inside _input(event), and override that custom function instead.
Ramshell | 2019-10-05 03:58