Hmm. No one any idea? Then let me ask in a different way: If my behavior has a WakeupOnAWTEvent trigger condition, I can cause a KEY_PRESSED event by striking a key on my keyboard. The result is, that my behavior starts its action.
But now I want a control object to do exactly this (start the behavior's action, without creating an artificial KEY_PRESSED event). Is this impossible? All these intersection WakeupCriterions might be useful sometimes, but is it that absurd to control a behavior manually by an instance of a non-behavior class? The other possibility would be to change the behavior classes into threads but then I would have to take care of their timing, termination, etc. Using behaviors is more elegant in my opinion. Thanks for help, André ---------- Hi, I've got a problem using a WakeupCriterion. My scenegraph contains a set of MorphBehaviors. Now I'd like them to invoke their processStimulus() method if the control class says "lets go". But which WakeUpCriterion should I use? I thought of WakeupOnAWTEvent, but somewhere I read this works only with events like "Key_Pressed" and not with an Action_Event. The best would be something like a global boolean trigger var as condition that can be set to start the behavior's movement. ----------- =========================================================================== 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".