Hi Andreas,
can you make sure that you called
PickTool.setCapabilities( shape, PickTool.INTERSECT_FULL );
for your shape instance containing the plate.
I think you have to use picking by geometry.
Cheers,
Kartsen
Andreas Bauer wrote:
> Hallo,
>
> I have added a huge plane to the scenery. When the user picks this plate, I
> need the coordinates of the Intersection of the Plane with the PickRay. I am
> using PickCanvas to do the oicking. When I get a PickResult, I am calling
> getIntersection(int index) with index 0 to get the PickIntersection Object,
> however I get a ArrayIndexOutOfBound exception ewhen I am doing this. I have
> set the Capycility for the Shape right. Must I set the Intersection Mode to
> Geometry to do this? When I set it to Geometry, nothing is picked anymore.
>
> --
> Andreas Bauer
> [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".
===========================================================================
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".