How to create a random wall in a scene.
I have a ball bouncing in a scene, and I created four walls at the boundaries. Now while playing the game, I want to draw a line horizontally or vertically depending on balls position and make that line behave as a new wall.
Comments