Greetings!
I have noticed UE4 doesn’t really have any tutorials on how to set up basic character movement.
Character class has movement built in, but it’s not very beginner-friendly to modify.
So I decided to spend few days to write this tutorial down, hope this help you out on your journey to make more awesome games.
Tutorial is very basic, and does not cover walking on slopes/stairs or handle surface friction, and has no Multiplayer capability.
Leave a Comment if you’d be interested in more complex version with features mentioned above, I could possibly put one up in the marketplace.
Example Video:
And Please, leave a comment if you find any spelling or factual errors.
Thank you for your work. It really helped me.
My character has horizontal position, so capsule collision was a real problem for me. But your variant of movement system allows to use any root component, so I used “box collision” and it works fine. But jumping settings weren’t perfect for me… Cause adding impulse that way creates more flying then jumping effect. So if anyone needs their character to stop jumping, I’ll add my setting (It’s not perfect but works fine)
I’m casting to an object, where my character can walk (floor for example). Also you can use triggers. But I added blueprint to a mesh and changed collision preset to a “trigger”. So my mesh lost it’s collision and I duplicated that mesh with collision preset “block all”.
Honestly, I don’t think I’m good at explanations. So I’ll attach picture of my scene to make it clearer.
another big problem I have is that all horizontal movement is limited to the max walk speed, so when you get hit by fast moving objects you instantly slow down
Hey, this is the tutorial I started with for making my Sonic Green Prototype. I was precisely looking for something to start with in Pawns instead of Character. Check it out ctzn_no7: