Hello everybody!
I'm trying to implement collision detection in j3d 1.2 API using
picking. The problem is the following: when I use a CylinderShape for
intersection test with the geometry of the picking scope, I always get a
null pointer for the normal vector in the intersection point. Any other
data (closest vertex to the intersection point, its normal, distance
from the pick shape starting point to intersection point, etc) is
retrieved correctly. I remark that for terrain following purpose I need
the normal to the picked polygon (triangle in particular). Does anyone
have an idea to fix the problem?
Thanks...
Max
--
Massimo Manfredino <> Software Engineer
Infobyte S.p.A. Virtual Reality Division
67, Via della Camilluccia 00136 Rome (ITALY) phone +390635572260
mailto:[EMAIL PROTECTED] http://www.infobyte.it

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