Hi Brad. I thought this would be the solution... but which "origin" of the rotation should I set? I don't know if I should put the center of one of the objects... the center of all of them... and in this case, how do I set that?
Hi, something like this should work. Find the center of your combined shape. For this you could get Bounds from both shapes, cast to BoundingBox, use getUpper e getLower from both shapes, find the combined shape extreme points, and find the middle point. Then add a TG that translate the two shapes so that the middle point is in the origin. Then a TG for rotation, over the translation TG should rotate around the new center.
TG (rotation) TG (translate center) BG (house)
Try, if it does not works I've placed the TGs in the wrong order, but I think should be right.
Bye
Lorenzo
=========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
