It’s pretty much the same as the code from this video (I know move_and_slide doesn’t have “velocity” in it, it’s not important), but for some reason It doesn’t work.
I read I’m supposed to change the velocity variable on the main node but Idk how to do that, can someone help me out?