Rubik's Cube with Scramble Function and Better Controls

new_rubiks.blend (1.6 MB)

Hello!

I posted a primitive version of this before but I think this one is much better.

One of the same bugs is very present but the cubes model and controls are much better!

Mouse Movement to Rotate

Left Click - Scramble Cube 

(BUG: IF YOU PRESS
 KEYBOARD COMMANDS DURING
 SCRAMBLE, PIECES WILL
 GO INSIDE EACH OTHER)

Rotate Face Clockwise (Hold Shift to Invert Rotation)
(BUG: PRESSING MULTIPLE KEYS AT A TIME WILL MAKE
PIECES GO INSIDE EACH OTHER)

Space       - Front Face
Left Alt    - Back Face
W           - Top Face
S           - Bottom Face
A           - Left Face
D           - Right Face

Orient Cube (Hold Ctrl)

W  - Forward
S  - Backward
A  - Left
D  - Right

NOTE: Int value in line 25 in rubiks.py is number of
rotations per scramble