Melina Alberio wrote:

Hello,
My new problem is follow:
I'd already got to detect collision.
I added the collision detection behavior to my
TGTissue(it's a TransformGroup). But now, I'd like to
identify the objects(others TransformGroups) that
collides with TGTissue. Because, depending of the
object that collides with, the reaction will be
diferent.
Help me please.
Thanks, Melina



__________________________________
Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/

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




I've only just seen this after I replied to your earlier one.  If you
use a space partitioning approach (check for overlapping bounding boxes
between all possible pairs) then a collision will automatically give you
the colliding pair.

This is far from the most efficient, but it works - I've used it.

Tony

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