I am creating a 3d game that can be used by just clicking. I have a planet and a camera and the camera is placed at a certain distance from the planet, facing it. I then have 4 buttons on the camera view called up, down, left, right. I want the buttons to work like this: if the right button is clicked, the camera will rotate around the planet by a certain angle interval. I am unable to figure out how to get the buttons to move the camera since I don’t know where to start with this.
Game development is best conducted one step at a time, like this guy:
Imphenzia: How Did I Learn To Make Games:
Two steps to tutorials and / or example code:
- do them perfectly, to the letter (zero typos, including punctuation and capitalization)
- stop and understand each step to understand what is going on.
If you go past anything that you don’t understand, then you’re just mimicking what you saw without actually learning, essentially wasting your own time. It’s only two steps. Don’t skip either step.
For camera work, use Cinemachine; there’s a Camera search filter in these forums for more help.