zoltan
12-14-2006, 08:45 PM
Hi,
I realize that title probably isnt very clear. What I am trying to do is:
Imagine three squares, with edges flush, sitting in a row next to each other. Now imagine that the center square starts to rotate. As it rotates, the space that it occupies would obviously expand, and the cubes on either side should shift away from it to accomodate the center cube, and then as it completes its rotation, move back in so they're always flush. And obviously, if the cubes on the ends rotated, the other cubes would adjust in the same way.
Can anyone recommend a good way to handle this? what makes it tricky is that I would want it to work so that if multiple cubes were rotating at the same time they would all be shifting around and bumping back and forth to make room for one another.
thanks,
-z
I realize that title probably isnt very clear. What I am trying to do is:
Imagine three squares, with edges flush, sitting in a row next to each other. Now imagine that the center square starts to rotate. As it rotates, the space that it occupies would obviously expand, and the cubes on either side should shift away from it to accomodate the center cube, and then as it completes its rotation, move back in so they're always flush. And obviously, if the cubes on the ends rotated, the other cubes would adjust in the same way.
Can anyone recommend a good way to handle this? what makes it tricky is that I would want it to work so that if multiple cubes were rotating at the same time they would all be shifting around and bumping back and forth to make room for one another.
thanks,
-z