There is a reason why no one is answering...I don't think anyone uses it.  It doesn't work very well.  You can try casting a ray from the corners of your view before you actually move the view to see if it will intersect.  You can also create a bounding box, transform it to where you would want your view to go and then check to see if it intersects with any of your shapes via bounds intersection, then take that smaller list and check for intersections with actual geometry.
 
Have you tryed the j3dfly demo?  I know it uses the technique I describe above.
 
Good luck,
 
----- Original Message -----
From: Zak Nixon
Sent: Wednesday, July 02, 2003 9:32 AM
Subject: [JAVA3D] Viewer/Object Collision Detection

Is anyone using the j3d.org navigation capabilities with collision detection implemented? If so, can someone send me a working demo that shows the collision detection working?
 
I have tried all the demos included with the j3d.org package, and none of them use the collision detection feature. Also, i have tried to make the collision detection work, but have failed.
 
Thanks in advance,
 
Zak

Reply via email to