Actor spawn in random place in direction to the center?
Cabaco
Member Posts: 414
Ok so I already made actors spawn in random places but now I want them to when spawning, their direction has to pass in the center, HOW?
Comments
Then you can just input the
vectortoangle(actors X - Center X, acotrs Y - Center Y)
That should point them towards the center I think...
Or you can just have them accel, or move to an X and Y position (plug in the center's X Y)
make sense?