You can't detect with more than than two objects Ramanathan. A 'feature' of the collision detection.
When an object collides with a second one, then the only collision events it will respond to are CollisionExit and CollisionMovement. It will not and can not detect a second collision until after a collision exit! But there are ways. Have a look at http://www.manning.com/selman/onlinebook/ and the chapter on behaviors. Selman shows how to do collision detection without the built-in system. He uses picking instead. You can also get more at www.j3d.org Tony -----Original Message----- From: ramanathan v [mailto:v_ramanath@;YAHOO.CO.UK] Sent: 06 November 2002 17:48 To: [EMAIL PROTECTED] Subject: Re: [JAVA3D] Collision detection issues I meant about the boundingsphere. I gave a overall boundingsphere in my code (0,0,0,1000) and placed few objects within this domain and i am checking for collision for two particular objects. I could not detect collision if there are more than 2 objects and if i reduce the number of objects to 2 ..the 2 for which i am testing the collision then it works fine. If you could throw me some light in this aspect that would be great. thanks ram --- Burrows Anthony <[EMAIL PROTECTED]> wrote: > Not sure quite what you mean by the 'collision > domain' Ramanath. > > -----Original Message----- > From: ramanathan v [mailto:v_ramanath@;YAHOO.CO.UK] > Sent: 05 November 2002 18:59 > To: [EMAIL PROTECTED] > Subject: [JAVA3D] Collision detection issues > > > Hi Group, > > I am working on some collision detections, when i > place more objects within a branchgroup and try > defining the collision domain, its not functioning > properly. If i just place two objects are that in > collision domain then that works well and good. > So is there any changes i need to make or something > else needs to be taken care off.. > > thanks, > ram > > > __________________________________________________ > Do you Yahoo!? > HotJobs - Search new jobs daily now > http://hotjobs.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". > > =========================================================================== > 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". __________________________________________________ Do you Yahoo!? HotJobs - Search new jobs daily now http://hotjobs.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". =========================================================================== 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".