Devlog 7: Adding UI and Camera Movement
It’s been a while since I last worked on this project, but now I’m aiming to complete it.
So today I made an UI where you can change most of the values the simulation uses, and then wrote a Script so those changes in the UI can be communicated to the simulation itself. And when you start the program, you even get to chose whether you want the 2D or 3D simulation.
After that, I added the ability to move the camera around using WASD and QE, and found out that instead of making a complicated code to zoom in in the 2D mode, I can just have the camera be in perspectiv instead of orthografic and then move the camera closer to the particles, and after that I finally added the ability to turn the camera in the 3D mode.
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.