Anders Breivik wrote:
> Hello,
>
> Does anyone know how to use Interpolators such that an animation
> happens only once. I've tried setting different values for the loopcount,
> but its not working properly. A loop cout of 1 will only show the first and
> very last frame of the animation.
>
> For example, if a cube is set to rotate 90 degrees it only shows
> the cube at 0 degrees and then 90 degrees (loopcount = 1)
>
> How do I make it rotate smoothly and then stop the animation as 90 degrees
> is reached (and then making sure it does not start all over at 0 degrees)
>
> Any feedback is greatly appreciated...
>
> Anders.
>
> ______________________________________________________
> Get Your Private, Free Email at http://www.hotmail.com
>
> ===========================================================================
> 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".
loopcount = 1 is fine and duration=5000, but also try:
myAlpha.setStartTime(System.currentTimeMillis());
kind regards
Hardy Henneberg
===========================================================================
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".