- Home /
Tumbling a cube
Hi,
I am new to unity and the project that I am working on requires a cube(player) to tumble sideways depending on the key pressed (up, down, left or right)
I found this game: http://www.albinoblacksheep.com/games/bloxorz
The way Cube behaves in this game is exactly what i have in mind.
Any starting directions will be awesome.
Comment
Answer by Bunny83 · Mar 26, 2012 at 03:24 AM
There was already a similar question like this one. Note that my solution is designed for a cube (same edge length in all directions). It could of course be modified to take the scale into account which is needed to find the rotation axis.