I'm not sure is it is what you are looking for, but there is a WakeupOnBehaviorPost which allowes some kind of user-defined wakeups by calling postId(int postId) (a method from class Behavior).
Michael
On Fri, 23 Jan 2004 02:53:27 -0700, Andrà Meyer <[EMAIL PROTECTED]> wrote:
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.
Thanks for helping me, AndrÃ
=========================================================================== 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".
-- http://java3d.virtualworlds.de http://www.3dchat.org - Welcome to the unreal world!
=========================================================================== 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".