Autogenerate the offset array
Added wrapper-class for the cube-parts, helps in creating each part, also will help in keeping track of where a specific part is
Improvements of wrapper-class in creation of 3d cubes
Changed to depth material, it was quite cool
Move where you define paddingMultiplier to main object
Removed angle and added angle(X|Y|Z), also added detection of which type of cube it is for the rotation