I am using Add Child Actor Component and adding asteroids into my game and I am trying to get them to move on spawn. I cannot figure how to do this and would appreciate any help I can get.
I have done something similar, here is how I handled it:
Create an actor BP for your asteroids and put a ProjectileMovement component on them. You can see the values that I changed in the image below.
Full Res: http://i.imgur.com/10kt3ls.jpg
Next I spawned them from my level blueprint using some cubes for a spawning volume. The bluepring picks a random point in the spawn volume to spawn an asteroid (Bombs in my case). The only thing you will really need to change is that in my BP they spawn moving towards the player where ever they may be.
Full Res: http://i.imgur.com/gtg4eXA.jpg
You could do something like this if you want each to spawn with a random direction. If you’re doing 2D just drop whichever direction you don’t want them traveling in.
Full Res: http://i.imgur.com/VyL537Q.jpg