----- Original Message -----
From: "Ewan Borland" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, December 08, 2001 8:44 AM
Subject: [JAVA3D] Switch Interpolators


> Hi,
>
> I want to use a SwitchInterpolator to do some animation,
however I want it
> to do some extra work at each stage. Does it use the
setWhichChild() method
> of Switch? I figured I could subclass Switch and override that
method to add
> functionality. Anyone know if that works ok or have any better
suggestions?

I'd override SwitchInterpolator and put the extra stuff into
initialize() and processStimulus().

Advice is usually worth what you pay for it.

Cheers,
Fred Klingener

===========================================================================
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