I think you have picked your cube using PickCanvas!? Its method picAll()/pickClosest()/... returns a PickResult object. There you can find a Method getClosestIntersection() which returns a PickIntersection object. There you can find a method int getClosestVertexCoordinates() which returns the edge you are looking for. If you'd use a IndexedQuadArray the way would be similar, in this case you can use the Method getClosestVertexIndex() to get the index number of the picked edge.
All what you have to do now is to modify the coordinates of the picked edge.
Michael
On Sun, 14 Dec 2003 17:35:52 +0100, Prof. C. Ratsch <[EMAIL PROTECTED]> wrote:
Hello friends, I have constructed an own cube with QuadArray . It looks nice and works well. How can I pick a corner of this cube and move this picked point with mouseDrag to change this shape online? Do I need an IndexedQuadArray ? Thank you for some support. C. Ratsch
=========================================================================== 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".
-- http://java3d.virtualworlds.de http://www.3dchat.org - Welcome to the unreal world!
=========================================================================== 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".