hi joao, i am currently programming a behavior editor. which is what you might need as well. in this editor i can control the behavior of my fish (cars, same). i just set or change certain values (such as speed) in the editor. i did this by creating a class SuperFish (extending BranchGroup) and when I pick a fish in the aquarium the editor (class frame) opens with the the SuperFish ( I called f) given as a parameter (BehaviorFrame frame = new BehaviorFrame(f); then i wrote some procedure to change the values, that i give through from editor to SuperFish to Fish. Understandable? But essentially I needed a new SuperClass and an Editor (a frame, that opens whenever I want). I you like and if you think that is what you need I can send you the source code for better understanding.
Regards Britta greetings from frankfurt am main ----- Original Message ----- From: "Joao Manuel De Oliveira Francisco" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, October 10, 2001 1:40 PM Subject: [JAVA3D] WakeUp Conditions > Hi there! Greetings from Portugal. > I am developing a 3D automobile simulator for my University Mechanics > Department. > I have already programmed all BranchGroup of the vehicle, with all the > behaviors attaches for the vehicle and wheels dynamics. For debugging I've > used the keyboard to move the vehicle and rotate the wheels. > The problem is that I need complete control over the animation, which > cant have with the interpolators supplied with Java3D. > I must be able to send each behavior an object with the parameters I want > it to have. > Theoreticaly I think I can solve it by creating a new Wakeup Classe and a > new kind of Event, which I can fire anytime I need to change the > parameters of the behaviors. > > Can anyone help me with this? Can I easily create new Wakeup Conditons by > inheritance? > > Thanks, > Joao Francisco > > > > > *********************************************************** > * JOAO MANUEL DE OLIVEIRA FRANCISCO * > * * > * [EMAIL PROTECTED] * > * http://www.rnl.ist.utl.pt/~jmof * > * * > *Licenciatura Engenharia Informatica e Computadores (LEIC)* > * Instituto Superior Tecnico (IST), Lisboa, Portugal. * > *********************************************************** > > =========================================================================== > 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".
