Mike,

        Not sure but I think you have to call
setCapability(Node.ENABLE_PICK_REPORTING) on your transform groups. This
will cause them to appear in the SceneGraphPath returned from the picking
operation. Afterwards, the getNode should work.

        Ricardo


At 21:45 4/11/2002, you wrote:

I am picking in a scene graph that has the following structure of
TransformGroups with Links to a SharedGroup.

TG  TG  TG
 |       |      |
 L     L     L
    \    |    /
        SG
      Shape

    pickResult.getNode( pickResult.LINK)
works fine but
    pickResult.getNode( pickResult.TRANSFORM_GROUP)
always returns null.

How can I get the TG?

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