Hi,
"Stokkermans, Bart" wrote:
> I've a problem with picking objects.
> I've done for all the nodes : setPickable(true).
> and I've done for some nodes : setCapability(ENABLE_PICK_REPORTING)
> I have a PickCanvas with mode : PickTool.GEOMETRY
> When I get a pickResult with PickResult.pickClosest() we always get the
> same result.
I assume you aren't getting any intersection information when you pick, that's
why PickCanvas always returns the same object on not the closest (because
intersection information is used to calculate the distance). Try setting the
tolerance of PickCanvas to zero :-) That should
a) work
b) be documented in the API!
Best Regards,
Andreas
===========================================================================
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".