I’m new to UE and recently finished reading up on C++ so thought I’d have a stab at making something, after reading around it seemed like blueprints were the way to go to get a better understanding of what needs to be done before delving into actual code. I’ve been following a guide to make a 2D game from Game from scratch. The movement scheme used was very simple, that it for every key press (or release) the character would move some number of units. This is slow and doesn’t feel good so I tried using input axes instead but now I cannot get the character to face the direction of movement.I looked at the documentation but it all seems to be for 3D. Attached is a picture of the blueprint, I’m guessing I need to split the axis value into two and somehow modify one of the outputs so that it turns the character around. Sadly I am at a loss as to how to do this. Any help would be appreciated, thanks!
Thank you for your answer! That video was very helpful and I will use your channel. I was wondering if it was possible to set the rotation directly from the input axis, since if someone pressed right or left instead of a or d would it not work? I tried to use this (below) but he now constantly faces left.
Thanks for your help!
EDIT:I changed the capsule component to the sprite and now he always faces right. Could you please explain what I should be using? I thought that since the capsule component was the parent? It would work on everything below it: