Hi Christian,
Use the method :
    setupCallback(PickingCallback callback) , from the PickTranslateBehavior
class.

- callback is your class whose implements the PickingCallback interface. Every
time the transform group updates its transform3D it calls the transformChanged
method from your class.

Hope this helps.

Christian Petermann wrote:

> I'd like to know if anyone out there knows when the TransformGroup of a
> moved object is updated?
> Currently I have a class derived from the PickTranslateBehavior class.
> I use it to move a Sphere in my scene. What I want is to get its new
> position. Do I have to wait until the Behavior has finished? And if so,
> when do I know it has finished?
>
> Chris.
>
> ===========================================================================
> 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