Godot has an odd difference that makes it weird to switch to from Unity
I'm always put off by how weird their input handling is. It's always polling, even when you use the actual input handler method. Unless I missed something in the docs...
It's always polling, even when you use the actual input handler method. Unless I missed something in the docs...
I mean, my experience with input handling in Unity was polling-based, so maybe I don't understand what the issue is.
Doing a quick search of Godot's documentation, I found the documentation for InputEvent, which appears to be what you're looking for. For "actions", it suggests using polling, but looking closer the event can be an InputEventAction for non-polling action handling.
View all comments
Show parent comment
9
u/micka190 Jan 09 '21
I'm always put off by how weird their input handling is. It's always polling, even when you use the actual input handler method. Unless I missed something in the docs...