From: "Raśl" <[EMAIL PROTECTED]> Sent: Sunday, December 23, 2001 11:28 AM
Need more info. > I want to make a rotation interpolator followed by other different rotation > interpolator (by example). 'Followed'? Followed in the scene graph? Followed in time sequence? If you are trying to sequence Interpolators, there are several approaches you can take in setting up your Alphas. The best way depends on what it is you're trying to do. If you know the sequences and durations ahead of time, then you can start the first Alpha and Alpha2.setPhaseDelayDuration(. . .) to delay the start of the second until the first is complete. To keep the first from restarting (if you've set it to repeat) set Alpha1.setAlphaAtOneDuration() or Alpha1.setAlphaAtZero(. . .) or whatever fits your needs. Plan B is to explicitly setStartTime(. . .) for all of your Alphas. Plan C, usable if the sequences or durations are too complex to figure out ahead of time, is to set up a Behavior to wakeupOnElapsedFrames(0) and, in its processStimulus(. . .), check the boolean Alpha.finished() for all of your Alphas and shuffle them accordingly. Plan D - look at the new (j3d 1.3) pause functions for Alpha. I haven't written any running code that uses them, but they might fit your needs. HTH, Fred Klingener Brock Engineering =========================================================================== 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".