I don’t know why it’s not working. If anyone can help me, I’m using this in sidescroller character movement. I want my character to move 180 when I press A/D key
no, its sidescroller type game, a player can go only go forward and backwards.
so when the player moves backwards he can turn 180
this how my game looks like.
Can you show me in detail with the picture of blueprint
First of all i think u are applying a logic which is a bit confusing …!
- So first of all is your game 2d.?
- if yes then while pressing" A" play “flipbook animation” of character left, and right animation for “D”
- If you using 3D then also the same thing use animation for going left and right.
- But even if you still insist on making the character rotate 180 just use a Boolean “is left” keep a branch and check weather its left then turn 180. and if "is left " is false. then turn -180
get information from the forward vector