Thank you for the reply, David. I'll go ahead and try it. I would also
appreciate your inputs on the following.
It seems to me that we may be thinking at a lower level of abstraction than
we ought to.
The rotation around a point is not necessarily a property of a single cube,
but all the cubes in the plane in which I want the rotations to happen. So,
1) Would it be easier to define a container class, (such as a subclass of
TGroup), that can contain cubes and have rotation as a property of the
container class itself? This way, we don't have to worry about single-cube
rotations.
2) If we do implement such a container class, we'll need to make such a
container class dynamic since after a rotation, the cubes shift their
positions. So if I do a rotation around y-axis, then the cubes would change
their planes in the x-axis and z-axis.
Would it be any easier, given the classes in croquet, than my previous
approach?
--
View this message in context: http://forum.world.st/Rubik-s-Cube-Help-tp4682659p4682869.html
Sent from the Croquet - Dev mailing list archive at Nabble.com.
Free forum by Nabble | Edit this page |