Ben, Here's how I would handle it.
As you know, any time your view platform or scenegraph subject moves, a redraw is automatically triggered. So, have your behavior wake up on WakeupOnElapsedFrames( 0, true ), check the Transform3Ds in question and if they've changed do what you need to do. Raffi -----Original Message----- From: Ben Moxon [mailto:ben@;NEWVIEW.CO.UK] Sent: Friday, November 01, 2002 10:06 AM To: [EMAIL PROTECTED] Subject: [JAVA3D] Still can't react to transformation changes I'm still stuck on this problem: If I have TransformGroup transG in my scenegraph subject and an OrbitBehaviour on my ViewPlatform and I need to move a second transformgroup transG2 based on the relationship between transG and the ViewPlatform, moving it appropriately when either of these moves - how would I go about this? I think I need to build a behaviour that is woken up on the transform changes of the two groups but my attempt to do this just transforms transG2 to react to the initial position of transG and then is never updated after that. Any ideas how I can resolve this? cheers, -ben ==========================================================================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". =========================================================================== 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".
