I am trying to create a simple test game. Object of the game is to catch the falling balls with the box. I want to be able to move the box left and right while balls are randomly falling. I read quite a few resources but none apply to what I am doing. Can somebody help me please? The picture below will give a good idea.
Hi, welcome to the forum!
How far have you got with this? You’ll probably want to use the Input manager to read keystrokes or the mouse to control the cube. For simple movement, you can use transform.Translate to move the cube and the falling sphere. However, you will probably find the physics engine gives a satisfying motion to the objects and it will likely save you a bit of coding.
Perhaps you can give some more detail about the specific problems you are having?
