2 questions:
I would like to create a pause effect by pressing a
button in a game and I intend to do this by setting
the alpha value of the position interpolator to null
as follows:(on the push of a button)
public void actionPerformed( ActionEvent event ) {
postionInterpolator.setAlpha(null);
}
However referencing the position interpolator always
creates a null pointer exception i.e. the
postionInterpolator does not'exist'.  Does anyone know
how to get round this?

Second qusetion:
I would like to create a fog effect on the push of a
button.  I know how to add the effect of fog to the
scene graph, but does anyone know if there is method
that disables and enable the effect of fog from the
scene graph?

Thanks

Rob Elsam


__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.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".

Reply via email to