I have a node that uses the onKeyPressed event, and Im trying to make an acceleration based animation work, however, I need it to be a smooth animation. The onKeyPressed event works, but if I hold the key down, there is a slight delay between the first press and when the "holding down" functionality kicks in, I need it to be continuous from the moment the user presses the key.
How can I get around this?
P.S. obviously I dont want the user to have to change their keyboard settings, so is there a way to implement a type of illusion to give this effect?