Howdy,

I am trying to implement some collision detection.  What I have found is that
when I use Shape3D to detect collision, it works perfectly, but when I use a
Primitive (Sphere, Cylinder, or Cone) in exactly the same way, collision is
detected too early, as if there is a boundary that exists outside the Primitive
that I am hitting.  Can anyone tell me why this is happening and how I can
avoid it?

Here is a quick example.  If I want to detect a ColorCube hitting a Sphere, it
detects collision before the collision actually occurs.  But if I use only the
Shape3D from the Sphere (or more precisely, Sphere.BODY), the collision
detection works properly.

Is collision detection only supported if you use Shape3D's?  Any insight would
help, because ultimately I want to use it for more complex structures.

Rich

--
*******************************
Richard W. Bragg
Stanford Biomotion Lab
Durand 061
Stanford, CA 94305
650-723-5793
[EMAIL PROTECTED]
*******************************

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