Book Cluster Generator Script

They said a good programmer is lazy. Well, I hope this is true because I was super lazy on the other day. I literally wrote a script in several hours instead of doing 10 minutes of work by putting prefabs together.

This sounds silly, right? Maybe it is, but I enjoyed working on this small script and trying to remember to the trigonometry from high-school. Let me introduce the weird and questionably useful result of my lazy-work: the Book Pile/Cluster Generator.

On the two screenshots below you can see, the very different result of a single click on a button.

So how did I end up to make something like this? Currently, we are working on the first update for the Dark Fantasy Kit. While Dotti is still modeling and texturing, my job is to test the models and create prefabs from it. We already added 100+ new prefabs, and there were multiple iterations, it’s quite a work. While I love doing this, it started to become too repetitive.

At the time I had to create a few book piles and clusters from the books she made, I just can’t start it. I decided to let rest the left side of my brain, and work with the right side, and the script was born.

How to use it?

Pile Settings

Cluster Settings

One thought to “Book Cluster Generator Script”

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.