Movement weird behaviour


I noticed a weird behaviour while doing this chapter. I have no clue why but my motion (Vector2) x and y properties doesn’t go lower than -99.99 so my movement is faster down and right. I am using Godot 3.0.6 on Linux…

Any idea what could be causing this behaviour?

The behaviour corrected himself as soon as I switch from if to elif for each axis, the problem was due the else to kick in the friction that was being applied constantly slowing down the motion

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms