How to move enemy in horizontal and Vertical paths


Uploading: prob2.JPG…

So my issue is that when I start the game, I have the enemy going to the left as I set it up but when it hits the down block it stops.
It is suppose to move down. Going left to right works but it doesn’t work going up and down. I believe I did everything right, obviously I didn’t but maybe someone will see something I don’t see

Y values increase down the screen. So to move down the screen, use a positive force. To move up the screen, use a negative force.

1 Like

As he said. But you can also simulate control after touching one of the boxes to move up down left and right. It makes up for easy repetitive AI movement.

1 Like