I deviated a bit as he made a 3d movement for a 3d character and I require 2d movement but it’s mostly the same I just removed the camera movement and didn’t make it have forward and backward movement
My current issue is that when I set up the inputs as shown in the second tutorial the 2D character won’t move or jump but the inputs are being done and I know they are functional as I set up a print string for both so I could test if the inputs were being used. I’m unsure what I am doing incorrectly.
the included images show the node setup, and that the inputs are working, but not on the character.
At a glance (judging by the print string output) it seems jumping executes every frame instead of when pressed (or, perhaps, you can mash the buttons that fast). That could prevent the character from moving, indeed.
I don’t work with 2D often. And the characters are weirdly rotated, mix in Control Rotation and I’m lost. Chances are we’re moving in the wrong direction and cannot get off the ledge.
I don’t work with 2D often. And the characters are weirdly rotated, mix in Control Rotation and I’m lost. Chances are we’re moving in the wrong direction and cannot get off the ledge.
Me neither, just started new game after finally finished my old one. But, as far as I see, he should use GetForwardVector(). I use it in my code, and all is good. It is quite logical that you need it, because movement component calculates forces of the movement.
the tutorial i followed did have forward vector but they used it for forward and backward 3d movement, they used right vector for horizontal movement so i figured it should work for 2D as i don’t currently want the 2D character to have depth movement.
the tutorial i followed did have forward vector but they used it for forward and backward 3d movement, they used right vector for horizontal movement so i figured it should work for 2D as i don’t currently want the @D character to have depth movement.
Follow up on the tutorial I’ve provided here, or look at the images i’ve sent, and it should work. I use same engine version, and it works just fine. And I also work on 2D game now. Just trust me
for your node setup you have “handle walk”, I don’t have that listed in search as an option, I also do not have “Jump Press” they might be renamed but still I don’t specifically have those
“Do you actually get to jump? And the next thing, what values do you get when you print this:” no I do not, character does not move at all and as for values I don’t know