Making spawned actor follow player

Hi,

I want to create blueprints to make spawned actor follow player character. This is my spawning blueprint:

It spawn BC_001 class actor at the player location and if spawned, references follow player event. The actual class name of spawned actors is BC_001_1, BC_001_2. BC_001_3 etc.

This is my follow blueprint inside BC_001 class:

It checks if player mesh is far enough from itselfs and moves towards player. I also set up NavMesh Bounds.

The issues is that following works when BC_001 is already spawned but not when when it is spawned by input event.

Do you have any ideas what might cause this>

Greetings @krzysio1 !

We see that this is your first time posting in our forums! Welcome to the Unreal Engine community! :medal_sports:

We deeply appreciate you posting your question here. Until someone with a higher level of expertise responds, I want to tell you that you are part of an awesome community, and we’re very excited to have you as a member!

Happy Developing and wishing you the Best of Luck on your Project!

'- Your Friendly Neighborhood Moderator :smiley:

I found solution, after spawning actor you need to spawn controller:

So above blueprints are full process of spawning actor and making it follow player

1 Like