Hello Away Team, I'm going crazy with a logical that I thought it would be a bit simple, but well, it's hard at least to me. In my first really commercial 3D app (yay!!), client requested a Rubik's Cube. I got the logic and engine in some samples, and realized the best way to do the rotation of 'internal' cubes, would be creating virtual 3D groups and addChild on them and then rotate. Great.
Now, the issue is, control those groups with mouse. So, for instance, I click in some cube face, and if I drag my mouse to the right, it should "know" the direction I dragged, group all objects in the same row/column, and so rotate them. It's driving me crazy, I'm not sure how determine that logical of grouping objects with mouse, and I bet this is simple for real 3D minds... Help me guys, I really didn't want disappoint the client, and I would be happy in sharing with you all my experience as soon I finish that... Thank you in advance, -- Fabio Pinatti :: web.engineer :: www.pinatti.com.br :: 19. 9184.3745 / 3342.1130
