Hello Bloggers!
It's been a short while since we last talked, and we believe we have a video that has summed up the interaction we have had with Unity in a perfect manner. We have just been running into bug after bug, and I thought what better way to inform those that tread after me then to give an account of the most hilarious and frustrating bugs we have faced thus far.
Our hurdles began within our demo with the legendary cannon within our Newtonian Laws lesson. This cannon was so messed up from the beginning we molded multiple cylinders, spheres, and cubes together to form its prefab. In order to originally produce proper physics when firing the cannon we tried to use quaternions. A word to the wise, don't mess with quaternion angles unless you have at least a masters in mathematics. A bug persisted in the way the angles were shown, how the angles updated in the barrel of the cannon, and how the cannonballs were fired off. It would essentially just fire balls straight up, leaving us with no cannon at all just a glorified stacker.
Then, we have the hurdles that still loom in front of us. For our menu there seems to be a problem with the line-renderer so that users are unable to toggle the functionality of buttons in the menu. This is coupled with the bug that randomly changes the line-renderer's pigment based on the location of our directional light, which we have masqueraded as a rising and setting Sun. The problems compound still if you look at the amusing video posted above. The never ending spawning of objects has plagued us a few times, but this is by far the most comical. All we simply had to do to fix this was change one small integer. It's funny how the tiniest of numbers can have the most amazing impacts.
I'm sure many other bugs await us in our journey with this application, but the most important part of development is to look at these bugs with a smile and undaunted spirit. One solution always leads to another problem, but in a way that is the beauty of programming. The things you can do will never run dry. So, hopefully if any of you are facing daunting tasks you can read this and look at programming for the beauty that it holds rather than the frustration that it causes. All in all, stay strong, and thanks for reading.