but my question is how do i create a side environment like subway surfes on the left and right side alot of houses and other buildings, i cant figure it out… hope someone can help me out
That’s easy, if in range to player → spawn actor from class. If out of range from player, delete spawned actors.
The difficult part is to spawn the actors at the correct location, so that it looks realistic. Well, an easy way would be to build a few actors that represent “chunks” of side environment (like a complete subway station part) and then you only spawn those chunks one after another.