How to fix rotations in a Rubik's Cube?

Posted by Eindbaas on Stack Overflow See other posts from Stack Overflow or by Eindbaas
Published on 2010-05-16T23:19:14Z Indexed on 2010/05/16 23:30 UTC
Read the original article Hit count: 360

Filed under:
|
|
|

I'm trying to create a Rubik's Cube in Flash & Papervision and i'm really stuck here. I'm up to the point where i can rotate any plane of cubes once, but after that...it's messed up because all local coordinate systems are messy.

I dont really know where to go from here, can anybody give any advice on what do do? I'm not looking for 'read about transformation matrices', i know i should (and i am doing that), but i'm not really sure what to look for. My idea is that, after each rotation, i should fix each coordinate system of each cube again, but i have no idea how. Any hints on what i want to achieve (in words), and why, are much appreciated.

http://dl.dropbox.com/u/250155/rubik/main.html (you can press the K key once ;) )

© Stack Overflow or respective owner

Related posts about flash

Related posts about papervision3d