JEMMA GILBERT
TECHNICAL ARTIST
The Clutter Creator - Tool
For Jellehtea Factory
This tool was developed alongside the 3D Scene on Jellehtea Factory. It's purpose was to speed up the creation of unique bookshelves and layouts of items, completely randomising the objects placed.
The tool includes one script that references it's children objects, Start and End being set positions for objects to spawn in a line. The Star Particles were an extra feature only seen in play mode. The Parent object contains all the spawned objects.
It uses Start and End and calculates the space between them, then misuses space used up by spawned objects. Over feedback, I also changed this so extra space could be added in between where objects are spawned. One flaw currently is that is does not detect with axis to spawn a line on, as it's needed to calculate the space used up. This is determined by the Axis Chosen enumerator.
Objects that can be spawned are in a list. I would eventually like to experiment with an object pool to help with optimisation as an alternative. Each object gets effected by its own variables, although currently the Spawn Amount does not work, but with an object pool I think it would be easier to input. This can also be optimised with a scriptable object system, however when this project was in the working, I wasn't as experienced with coding as I am now.
The Size of Obj is self explanatory, it can change the dimensions of the spawned object.
The Random Color and Material Index are another randomised feature. Ticking Random Color enables the object to be randomly coloured and the Material Index chooses which material gets effected, as the objects I used had multiple materials on them.
Colours are also customisable, so the user can add their onw range of colours, this is also a list.
Use of this tool can be seen all around my 3D scene. It was also developed as a separate script so that it could effect potion bottles, and change the fill amount randomly.
I'd like to revisit this project as a test to see how far I've practiced my coding skills, so this project may get updated in the future.
Code
Clutter Creator Script
Random Colour Script - Variation of Clutter Script used on Potion Bottles