Download

Spawning a projectile that follows the enemy AI character

The basic concept of what I want to do is pretty simple. I want to have my player-controlled character spawn a projectile that follows the enemy AI until it collides. So to do this, I created a simple character BP for the sphere and set up 360 degree pawn sensing (shown below), and then created an input event in my player-controlled character bp that spawns the sphere. I’m not having any trouble with the spawning of the sphere, but when it’s spawned, it doesn’t follow the AI enemy like it should. Can anyone help?

Hi, try this:

  1. make your projectile a blueprint actor (not a character)
  2. add a projectile movement component to it
  3. try like in this blueprint from the picture, see if that works for you