I know this may sound a little bone headed at the moment, but have you ensured the
"COLLIDABLE" capability has been set on the appropriate nodes? I tried implementing
collision detection in Java3D with little success. It just got too hard to compute
contact points based on arbitrary geometries and handling static contact appropriately
was tricky. Maybe I gave up too easily. Just needs a good rethinking.
-----Original Message-----
From: Mark Beckman [EMAIL PROTECTED]
Sent: Fri, 15 Dec 2000 08:51:03 -0800
To: [EMAIL PROTECTED]
Subject: [JAVA3D] Collision Detection
Hi gang....
I am trying to incorporate collision detection into
my application. I have looked at the
TickTockCollision example that comes with the Java 3D
JDK and it seems straight forward. I have tried to
incorporate the code into my application with little
success.
I have attached a "CollisionDetector" behavior to a
piece of geometry. With debug statements, I know that
the behavior is getting initialized. However, when
the piece of geometry collides with another, there is
no "processStimulus" call... ( I have a debug
statement there as well ) Therefore, (a) I am not
getting my debug message and (b) the geometry does not
change colors as the example does...
So, I have some questions:
1) Does anyone have some example of collision
detection they can share??? I would like to see other
examples to compare..
2) Could someone give me a checklist of things that
must be in place for collision detection to work? I
did not see anything in the tutorial regarding this...
Thanks in advance,
Mark Beckman
__________________________________________________
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.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".
___________________________________________________________________________
Visit http://www.visto.com/info, your free web-based communications center.
Visto.com. Life on the Dot.
===========================================================================
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".