Bassam,

Try using pickAll rather than pickAny.  We ended up rewriting all our
terrain following routines because of buggy picking utilities.

- John Wright
Starfire Research

Bassam wrote:

I just want to add more details. The table was done by 3ds Max program and saved as 
3ds format. I ,then, loaded it using John's Wright loader and add it to a transform 
group. I set the group's  setPickable(true);

The ball is a transform group which has sphere as child .using PickSegment ,I am 
picking from the center of the sphere (transformed center) downwards (I add a point 
below the center to it), but I am getting null.

Have I missed somthing? What's wrong?
Bassam




I have a ball on a billliard table each is add to different transform group. The problem is that I am trying to make the ball to pick downwards to check if it is on the table or pocketed. However ,after picking scenegraphpath is null, even though the ball is above the table. I am using Picksegment and calling branchgroup.pickAny().

  Can you help me telling me what is wrong?

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