Thanks very much for the work-around Kelvin. There was another problem shown with the collision test case: none of the nodes were set as collidable (all setCollidable calls were commented). Do you have any information on this? I could do with turning off collision detection for certain shapes.
Thanks, Mark http://sourceforge.net/projects/jlug/ - Lego type thingy > Hi Mark, > > Bug 4642873- > Collision detect self intersection when armingNode is GROUP > > is submitted for this. When the armingNode is GROUP, > it may detect collision between different Geometry > under the same group node. The workaround is to use > armingNode SHAPE and wakeupOr several condition > together. For example, in case of cylinder we need > to get the Shape3D of TOP, BOTTOM and BODY, then > wakeupOr three conditions together. > > Thanks. > > - Kelvin > ---------------- > Java 3D Team > Sun Microsystems Inc. > > >X-Unix-From: [EMAIL PROTECTED] Mon Feb 25 08:44:33 2002 > >Date: Mon, 25 Feb 2002 16:46:22 +0000 > >From: Mark Crompton <[EMAIL PROTECTED]> > >Subject: RE: [JAVA3D] WakeupOnCollisionXxxx > >To: 'Kelvin Chung' <[EMAIL PROTECTED]> > >MIME-version: 1.0 > >X-MIMEOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 > >Importance: Normal > >X-Priority: 3 (Normal) > >X-MSMail-priority: Normal > > > >Thanks for your help in solving this, Kelvin. > > > >Attached is a short-ish example created from bits of the > offending project. > >Sorry about the messy code. Running it should show two > white cubes, each with > a > >little cylinder on the bottom. Pressing any key will move > one of the cubes > >towards the other. Messages are displayed on the console > when the collision > >behavior triggers (Entry, Movement and Exit conditions). > > > >On my PC (WinNT4, JDK1.4, Java3D 1.3b1 OpenGL, 2D-only VGA card) the > >CollisionEntry trigger occurs before the two objects touch. > The collision > >triggers properly if the cylinder is removed (see PartBox > constructor). Also > >note, all the setCollidable() calls are commented out. > > > >Any help you can provide with this will be very gratefully received. > > > >Thanks, > >Mark Crompton > > > > ============================================================== > ============= > 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".
