Hi, I have several years of experience with Unity and would love to help with your project.
I can provide custom scripts that you can attach to your cubes and set the parameters using the inspector (sides, distance, animation speed etc).
I have developed games and prototypes for pc, android and oculus rift (both single and multiplayer).
Feel free to contact me to discuss further.
Thanks for your time.
Best regards,
Stratos