moving actor to location problem

allc1865allc1865 Member, PRO Posts: 777

Hey everyone,
I had a problem with an enemy that has to move to the player's position, but what I wanted it to do was follow the player's position, but move above the player on its x-axis for a second, then come down on the y-axes and shoot the player.

I can make the enemy move the players location, but it moves on both the X & Y axes causing it to come down in a weird way.

Any help is appreciated, thanks :)

Best Answer

  • RowdyPantsRowdyPants Posts: 461
    edited September 2016 Accepted Answer

    Oh I see now.

    I had
    --If self X ≠ player X
    --Move To player X (along X axis)
    --Move To player Y (along Y axis)

    I still don't understand the (firing same time) diagonal movement though.


Sign In or Register to comment.