Here's the code I used to restart an Alpha in a Position Interpolater.

         Alpha a = new Alpha(1, parentApp.BULLET_TIME);
         a.setTriggerTime(System.currentTimeMillis() - a.getStartTime() + 50);
         posInt.setAlpha(a);

Kevin

> -----Original Message-----
> From: Discussion list for Java 3D API
> [mailto:[EMAIL PROTECTED]]On Behalf Of Brandon
> Sent: Monday, October 08, 2001 2:38 PM
> To: [EMAIL PROTECTED]
> Subject: [JAVA3D] Alpha restart
>
>
> Is there a way to restart an alpha object after it's
> already been created? I'm using alpha and morph to
> animated my mesh, but I want to be able to restart the
> animation. I was thinking I could restart the alpha?
> Is this the best way to do this?
>
> Thanks in advance,
>
> Brandon Roybal
>
> __________________________________________________
> Do You Yahoo!?
> NEW from Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
> http://geocities.yahoo.com/ps/info1
>
> ===========================================================================
> 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".

Reply via email to