Hi, in my program I used to have a TransformGroup which was modified by two mouse behaviors: TransformGroup tgMouse = new TransformGroup(); MouseZoom zoom = new MouseZoom(tgMouse); MouseRotate rotate = new MouseRotate(tgMouse); this worked fine, I could zoom and rotate my scene using the mouse. For certain reasons, I now have to make the rotation independent of the zoom, so I created a separate TransformGroup for each behavior: TransformGroup tgRotate = new TransformGroup(); TransformGroup tgZoom = new TransformGroup(); MouseRotate rotate = new MouseRotate(tgRotate); MouseZoom zoom = new MouseZoom(tgZoom); tgZoom.addChild(tgRotate); //tgRotate.addChild(tgZoom) doesn't work, too But this concatenation doesn't work. Zooming is still possible, but when I try to rotate the scene, the objects immediately disappear (although they immediately reappear if I get zooming again, so it is not like they are rotated out of view or something). My question is: If I have the two behaviors (zoom & rotate), operating on the same TransformGroup, how can I split up the behaviors (i.e. let them operate on a separate TransformGroup each)??? thx Heiko =========================================================================== 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".
