How do I restrict my character's movement to one axis?

hanuwu13
Thu, 28 Dec 2023 19:05:26 +0000
Programming & Scripting

So I just started working on my very first UE5 project. Approach is to make a movement based game with sliding mechanic and I used two vids for reference and created a blueprint that decreases your mesh size and increases movement speed but to complete the illusion of sliding, I need it to lock my player’s direction to just the x-axis.

(released exec is the same as pressed except it resets the capsule size and speed)

to be mentioned : I do not have C++ knowledge

21 posts - 3 participants