Leyland,
        The following bug will prevent you from using PickCone or PickCylinder
to do what you hope to achieve :

BugId 4351050. - PickTool is partially broken for PickCone and PickCylinder :
The current Shape3D.intersect() API doesn't return the distance for
PickCone and PickCylinder.

        This bug will be fixed in the future j3d1.3 release.

- Chien Yang
  Java 3D Team.


> X-Priority: 3 (Normal)
> MIME-Version: 1.0
> Content-Transfer-Encoding: 7bit
> Date: Sun, 25 Mar 2001 07:49:31 EST
> From: Leyland Needham <[EMAIL PROTECTED]>
> Subject: [JAVA3D] PickBounds and picking for collision detection...
> To: [EMAIL PROTECTED]
>
> In the java3d-1_2_1-doc files, under PickTool class, it says that...
>
> "If the pick shape is a PickBounds, the pick result will contain only the
> scene graph path, even if the mode is GEOMETRY_INTERSECT_INFO."
>
> Does this also apply to using setShapeConeRay, setShapeConeSegment,
> setShapeCylinderRay, setShapeCylinderSegment?
>
> The information I want to generate is the distance down the ray the collision
> occures.
>
> I want to have a more volume for collision avoidance. Right now I am using a
> PickRay via setShapeRay in PickTool. This obviously has problems with smaller
> objects (like a pole), in which an object will pass right through another
> object if the center point is not collided with. If any one has any ideas on
> this, let me know.
>
> ===========================================================================
> 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".
>
> ===========================================================================
> 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".

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