How can i add moving obsticles like cars for a endless runner like subway serfrrs pls help me

How can i add moving cars to my endless runner game which will come straight toward the player

For example:

The car actor:

And the setup:

Image from Gyazo

Boom. A game. Almost.

And, since the player is moving, you can reposition the car actor when the delegate resets by offsetting it by the pawn’s world coordinate. This way new obstacles will always spawn ahead, wherever you are.

thanks man realy appreciate the help