You may try to use Line.Array.BY_REFERENCE and update
the start and end point using the known box coordinates.
In that case, your line will automatically have a
different length and orientation when you move the boxes.
Look for some examples (Triangle Arrays) at the Java3D
Demo files under GeometryByReference.

Dirk

-----Original Message-----
From: Discussion list for Java 3D API
[mailto:[EMAIL PROTECTED] On Behalf Of DODO Meva
Sent: Friday, January 21, 2005 9:23 AM
To: JAVA3D-INTEREST@JAVA.SUN.COM
Subject: [JAVA3D] About PickingCallback

Hi all,

I'm beginner in Java3D, I have just little problem.
My goal consists to move a link connecting two boxes when I move one of
them.
The link is created with Linearray class and the boxes are created with
Box
class. I can really get the new cordinates of the moving box but I don't
know after how to move the link in same time.

All suggests are welcome.

Many thanks.

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