I am making a racing game.
I have a car sprite which the user controls to move. But i want to create another car that will move automatically following and attack the car controlled by the user.
I have tried the turret behaviour but i dont think i have used it correctly as it doesn't do anything. I have used the bullet and that makes the enemy car speed off the layout.
Can someone please help what code do i need? Please dont ask me to make a platform game as i have to do the racing game for school.
Thank you for reading