Hi all, Im currently trying to modify at runtime the alpha.setIncreasingAlphaDuration () of a alpha object. The visual result is to modify the speed of the object under a pathInterpolator.
I want to modify the speed of the object as a function of the angular deviation of the mouse. The user is trying to follow the object with the mouse. So if the user doesnt follow the object with the mouse accuratelly the speed of the object is deacreasing. The problem is that, when I modify the alpha.setIncreasingDuration(long), it doesnt start back at the initial value(the alpha.value() change). I pause the alpha value, change the IncreasingAlphaDuration and resume. It look like when Im changing the Increasing value the alpha value is affected. When I dont modify the Increasing value, the alpha value is not affect by the pause and the resume function. Doesnt anybody have an idea, or a better way to modify the speed of an Interpolator at runtime??? Serge Bernier =========================================================================== 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".
