TF wrote: > I would like to know if there are any tutorials on behaviors that detail how > to execute different behaviors, or to have your own behavior do different > things when different keys are pressed or typed. If this is easy and someone > can give me some actual or psuedo code of how this is done it would be > greatly appreciated.
I solved this problem keeping internally the state of the buttons. A first behavior wakes up for awt events and set a boolean flag (pressed/released) on a ButtonState object. Another behavior wakes on elapsed frames and modify the transform based on buttonState (and elapsed time from last call). It' not very nice, but it works well if the frame rate is quite high (40 or more). Bye =========================================================================== 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".