Week 2 Development

Creating a Scene

The very first thing I implemented after creating a new scene in Unity was implementing the camera code. For this I re-used the existing orbit camera code I made for my prototype last semester. Hugo still needed to work on the model for our rat character so a simple cube would have to do.

While I was working on this Hugo was researching how to make a decent “greybox” version of the level based off of Indiana’s prototype drawings. We stumbled upon the official Unity ProBuilder package specifically designed for quick prototyping and installed it to the project, which made the process a lot quicker.

Hugo’s work on the greybox can be found on his blog post for this week:

Adding Movement

After the greybox was ready as a testing ground, I also decided to add the rudimentary movement code from my prototype to my cube. While the rolling movement initially made with Kinetic Panic in mind didn’t necessarily fit the shape of the object, it was a lot of fun to bounce about the house nevertheless.

The rigidbody’s friction factor on the walls also allowed it to “stick” to them like a spider, which was extremely fun but obviously way too jank to call a proper climbing system.

In the future this movement system will be revamped to be less physics-based so we can tweak things like acceleration time and jump heights.

Leave a Reply

Your email address will not be published. Required fields are marked *