Hot answers tagged


I can see two ways to avoid this problem: Base the player animation decision on the sprite's effective velocity (speed and direction), rather than pressed input keys. This can be a good idea if using movement with relatively low friction and acceleration. Add a Timer node set to Oneshot that will act as a debounce timer. Its wait time should be very low (0....

Only top voted, non community-wiki answers of a minimum length are eligible