From: "Thomas Gilbert Giusepe" <[EMAIL PROTECTED]> Sent: Tuesday, October 30, 2001 12:20 PM
> Hi there, > > I keep try to get my keyBehavior position as follow: > > TGcamera.setCapability(TransformGroup.ALLOW_TRANSFORM_READ); > TGcamera.setCapability(TransformGroup.ALLOW_TRANSFORM_WRITE); > > KeyNavigatorBehavior keyNavBeh = new KeyNavigatorBehavior(TGcamera); > keyNavBeh.setCapability(KeyNavigatorBehavior.ALLOW_LOCAL_TO_VWOR LD_READ); > /// get the view's local transform > Transform3D keyT3d= new Transform3D(); > TGcamera.getLocalToVworld(keyT3d); > // keyT3d has yet the local in the Vworld > > But the compiler gets the following error: > Node: no capability to read local to > vworld transform at.getLocalToVworld > > Any hints !? Thnx in advance. ...�:0). > Thomas How about: TGCamera.setCapability(TransformGroup.ALLOW_LOCAL_TO_VWORLD_READ );? I avoid calling getLocalToVworld() on a TG, just because I would have to run tests to figure out which end of it I'm measuring. hth, Fred =========================================================================== 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".
