Hi there,

I am have a number of BranchGroup within a Switch node. Each
BranchGroup contains a few shapes and a pointSound

my intention is to be able to switch between these BranchGroups and
have the sound for each one play but when i switch between the
branchgroups I get the folloing error:

java.lang.ClassCastException
        at 
javax.media.j3d.SoundStructure.processSwitchChanged(SoundStructure.java:461)
        at 
javax.media.j3d.SoundStructure.processMessages(SoundStructure.java:112)
        at 
javax.media.j3d.StructureUpdateThread.doWork(StructureUpdateThread.java:83)
        at javax.media.j3d.J3dThread.run(J3dThread.java:250)


Is it the case that Sound leaves can't be placed in a switch?

Thanks in advance
Tom

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