Currently my character runs to the right (forwards) automatically with the Event Tick. And when I press the “MoveRight”, it runs faster, but when I press the “MoveLeft” it stays in the same place (it do not move forwards or backwards). And I want that it move backwards.
If I change the velocity to positive 200 when I press the “MoveLeft”, it move forward. I actually change all the parametres but nothing change…. What I am missing or doing wrong?
What you are doing here is moving your character in the Y=-1 axis on the Event Tick, and then just changing the speed of the character with MoveRight or MoveLeft events.
MoveRight changes this speed to 600 when pressed and MoveLeft chages it to 0 (-200) when pressed, so the character that is always moving right due to the event tick, will stop.
In the second image you are just reducing the speed of the character to 200 when pressing MoveLeft.
What you need to do if you want your character to move left, is having a Vector variable input to the World Direction pin in the Add Movement of the Event Tick, and then using the MoveLeft and MoveRight inputs to change the value of this vector. (0, -1, 0) in MoveRight, and (0, 1, 0) in MoveLeft.
You don’t need to use AddMovement funcions in the MoveRight or MoveLeft events, because they are constantly ignored by the one running on the EventTick.
You can also use the scale parameter to control the Forward or Backward movement: