Side Scroller movement, need some help

hello guys i’m posting here because probably here i can have a better chance to get a answer, but currently i’m having a annoying issue with side scroller template and movement.

currently the default side scroller template come with a left/right basic movement which while it not terrible it have some issue when you start to develop mechancis then i need a little help to fix this issue.

the issue come to the “direction” the character can look, normally in 2.5D games like street fighter or metroid and others you can only look to "left or right, like if you click to left when the character is looking to right it automatically turn to left and if you click to right it turn to right.

however the templated don’t do that, if you are looking to “left” and click to right the 3d character "slowly start to turn to right which means it can look to “down” or to camera and it can lead to some issues like the character "rolling, or attacking in the “wrong direction”, or the character taking too much time to "turn then in a "melee combat he can get some hits before he can have a chance to attack because he still “turning around” before look to the right side.

then since i know which we do have 2.5d games made in unreal and which this issue don’t happens and the character proper "turn from left to right without do a full 180 degress, then anyone can help with a explanation how to proper do it??, how to proper setup the character movement direction to only look at left or right without "do a 180 degrees???

any help is welcome.

Hi @Ellessarr
I know that you can increase the velocity of the rotation by increasing the Z value in the component
Here i raised to 5000 and turn almost istantly,
Otherwise you can manually set the rotation of the static mesh,
removing the orient rotation feature in the component.


1 Like

really thanks those worked nice, now the character is not looking to the wrong side anymore, it was really leading to many issues in game as the character attacking in the wrong direction because it was “too slow” when turning, now it’s proper turning to the right side without the very slowly 180 degrees.

This is a question I can actually help you with. Here you go…Instantly turn left and right (Sidescroller template) posted by BizaaroGrodd | blueprintUE | PasteBin For Unreal Engine 4

2 Likes