Hi,

I'm trying to pick some shape3D in my scene and I need some help.

I've written this code:

        Point3d orig;
        Vector3d direc;
        SceneGraphPath path;
        Node obj;

        // The local is a Locale define before
        path = local.pickClosest(new PickRay(orig,direc));
        obj = path.getObject();

My question is: How do I get the orig, and direc values?

The java3D PickTests don't help much!

thanks

        

=====================================================================
To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
Java 3D Home Page: http://java.sun.com/products/java-media/3D/

Reply via email to