  | | | Rubik Cube Re: grouping | Rubik Cube Re: grouping 2003-12-27 - By Robbert de Groot
Back Boy! It's been a while since this was talked about. Such a simple problem and actually nt that simple and pretty tedious to do.
http://www3.telus.net/robbert/temp/rubik.mov
It isn't perfect but I finally managed to do it. :P Each object's hot point is the center of the cube. Just one group of all the cubes. I wrote a simple plugin to rotate a selected bunch of objects all the same. Which is a LOT faster than selecting each individually and setting it's rotation. It's reacheable with the above link just trim off temp/rubik.mov and mosey on into the development area.
I still had to manually set the hotpoint to zero on all of the smaller cubes. So not everything was peaches and cream. Also this was the first time I actually did some animation. You'll have to play with the ease in/out values of some of the tweeners. For some reason spill over in a previous tween happens. It looks like a bug to me but then this might actually be expected behaviour. In the above clip you'll see it on some of the blue and red cubes near the end. They aren't exactly in place but they are not out of place by much.
--- In Carrara@(protected), "Leon de Vivero, Juan" <leondeviveroj@(protected)> wrote: > I tried a similar route as well. Trying to change the hotpoint to the > center of the rubiks cube won't give the correct point of rotation. I tried > switching the hot point with every move of the object but it became a hassle > and Carrara was confused in the animation > > -- --Original Message-- -- > From: Robbert de Groot [mailto:zekaric@(protected)] > > If I were to tackle a Rubiks Cube, I'd probably leave the cubes alone > or put them all in one group so that as a groupd they can be > translated and rotated as well. Each of the cubes will need to have > one common hotpoint though which will be the center of the Rubiks > Cube. Then it's a bit of manual selection of cubes on a side and > rotation them. Thankfully only 9 cubes to select so that's not too > bad. > > I haven't tried this yet to see if it's actually a good idea. I'll > probably try this weekend as I'm curious now. :P > > > --- In Carrara@(protected), "Leon de Vivero, Juan" > <leondeviveroj@(protected)> wrote: > > thanks for the quick reply...but, > > I'm actually working with something similar to a rubiks cube. So > if you > > could picture a rubiks cube...To start, one 'group_a' of cubes > (which would > > be a set of nine cubes), turning on one axis. My problem comes > when I want > > to turn another 'group_b' on a different axis (which would be six > new cubes > > and three from the original 'group_a'). I can't seem to get the > three cubes > > from the original 'group_a' to be part of the 'group_b' without > separating > > it from the 'group_a'....which in turn messes up my animation > sequence.
To unsubscribe send a message to Carrara-unsubscribe@(protected)
Yahoo! Groups Links
To visit your group on the web, go to: http://groups.yahoo.com/group/Carrara/
To unsubscribe from this group, send an email to: Carrara-unsubscribe@(protected)
Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
|
|
 |