So I am making the endless runner from the tutorial on Youtube, and I decided to add my own custom obstacles which would be a pipe that spawns across the floor tile that the player has to jump over. At first the pipes spawn in corrcetly, but after 4-5 tiles they begin to be destroyed in front of the player as they approach them. They then begin to spawn way far off in the distance ahead of the floor tiles.
This is the BP for the spawnBlocker function in my BP_FloorTile BP class ans this function spawns the blockers. It randomly will select either a barrel(Blocker) or the pipe to spawn.
This is the event graph for the BP FloorTile Class
This is the run game mode BP that spawns in and the new attach points for the floor tiles
This is an example of how the obstacles begin to spawn way far off in the distance after they are destroyed in front of the player