In my Titanic Panic Remake, obstacles are generated using a spawner with three arrows. Each arrow randomly selects one of three lanes in an array, and that value is used to position the obstacle in the center of the Ice Floor Tile. This value is also stored in a variable, ensuring there’s always one open lane for players to try and dodge an iceberg in Unreal Engine 5.