Title: RE: [JAVA3D] Coordinate Tracking

Hi Oliver,

I am new to Java3D stuff....Can u elaborate how I register PickingCallback on PickTranslate Behavior. I tried and am not able to register the Callback on the pickTranslateBehavior

Thanx in advance

(Murali)

-----Original Message-----
From: Oliver Radfelder [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 22, 2001 6:40 PM
To: [EMAIL PROTECTED]
Subject: Re: [JAVA3D] Coordinate Tracking


Hi

You should get the TransformGroup which is above your geometry in
the scene graph. I think you can do this by registering a
PickingCallback with setupCallback in the PickTranslateBehavior.
PickingCallback forces you to implement transformChanged, which is
called whenever a change in the observed BranchGroup occurs.

From this TransformGroup you can get the Transform3D, which you can
apply get(Vector3f transform) to, to get the translational component.

I think, this way it works, it was just from memory.

Bye,  Oliver

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