> > I have a cube and a cylinder in my scene.
> > I wanted to have PickRotateBehavior on the cube and PickRotateBehavior
along
> > the y-axis for the cylinder.
> > How do I do that?
> > How do I distinguish which object I had picked?
> >
>
> Simply by attaching two different behaviors to each object.


I have problem with behaviors.
Suppose I have 2 objects in the scene, A and B.
I attached 2 different behaviors to each object, A with mouserotate and B
with mousetranslate.
Both are complex shape. After setting the schedulingbounds to
BoundingSphere, I found that I could rotate object A by clicking(and then
dragging the mouse) on anywhere in the screen
However that's not what I wanted.
I wanted object A to rotate when my mouse pointer click on it.(and then drag
to rotate it)

Should I use PickRotateBehavior instead?




__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com

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