Squishy cube controller thing

A small experiment with code-based animation in Unity. 

I made it a while ago, my goal was to make a cube primitive look as lively as possible using only C# code.

cubeforicon

 

You can play it by clicking here

 

It’s more enjoyable with a controller.

There’s no bones or keyframes or anything, just interpolations of local scale, rotation and position to give the illusion of bounciness/deformability (jump is smaller/bigger depending on how long you hold down the button)

Movement is the default ThirdPersonController of Unity, Camera is the default ThirdPersonCamera of Unity with slight modifications (mostly disabled annoying stuff :P)

There’s some bugs and missing aspects (no deformation or reaction to simply falling for example) but I’ll leave it at that for now.