Hi,

I could really do with some help in achieving the following:

    Getting a simple Primitive object (say a cylinder) to be
    rotated using the PickRotateBehavior (or something similar)
    if you click and drag on the cylinder and not on a blank
    bit of canvas.

I've seen example code that does similar things with Text3D objects in the
Java3D demo dir - PickText3DGeometry for example.

I realise it's slightly different because it uses Shape3D and my object is a
Primitive. Does that mean what I want is not even possible?

One last question - I tried modifying the PickText3DGeometry code to rotate
a simple line (created using a Shape3D), but it doesn't work. Any ideas?

Ultimately what I'd like is a movable/rotatable cylinder with various lines
sticking out of it at different angles and positions. If you click on any of
the lines that event gets detected and then I can perform some operation on
the line in question.

Thanks in advance,

Iain

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

Reply via email to