Problem with isometric variable stick sensitivity movement

Godot Version

v4.5.1

Question

Why does the movement slow down right before the transition to up or down movement? Happens with stick but not dpad

'“move_up, move_down, ect” mapped to dpad

“left_stick_up, ect” mapped only to stick

https://www <<<< script + demonstration

Depends on what your code looks like. We are going to need to see it to help you.

But I can take a guess. D-Pad input is binary - off or on. Joystick movement is 0.0 to 1.0 and can be anywhere in between. Likely you are not normalizing the output of the stick, and so you are getting a gradient.

Code is in the linked video. I want a gradient of movement with the stick. The problem is that the speed slows down just before transitioning to full upwards or downwards movement even at a full stick push. The video also demonstrates what I mean

Not to be an ass, but I’m not reading your code out of a video. Maybe someone else will. The appropriate way to post code when asking for help here is to paste it here between ``` on the lines above and below.

```gdscript
#Code here
```

Will appear like this:

#Code here

If you don’t do that, then someone trying to help you has to open multiple windows and retype all your code just to show another way to do something. You can see why that would be annoying.

Again, probably your code.

1 Like

Okay, my bad. I do see how that would be annoying. I got it working though :+1:

1 Like