Hi there,

I am trying to move my viewplataform through my SceneGraph as I have yet
done successfully for SimpleUniverse plataform with keybehavior, but now for
VirtualUniverse the camera doesn't go with the KeyBehavior. I have also done
the setCapability (ALLOW_TRANSFORM_READ,etc).

I am doing as follow:
--
KeyNavigatorBehavior keyNavBeh = new KeyNavigatorBehavior(cameraTG);

BranchGroup vpRoot = new BranchGroup();

cameraTG.addChild(viewPlatform);
vpTrans.addChild(keyNavBeh);
vpTrans.addChild(cameraTG);
vpRoot.addChild(vpTrans);

BranchGroup sceneRoot = createSceneGraph(mainCanvas);

VirtualUniverse universe = new VirtualUniverse();
Locale locale = new Locale(universe);

locale.addBranchGraph(sceneRoot);
locale.addBranchGraph(vpRoot);

this.add(mainCanvas);
--

But the camera still doesn't move. Any hints!?
Best wishes, Thomas

(PS:Thnx Paul   ....�:0).)

_________________________________________________________________
Downloaden Sie MSN Explorer kostenlos unter http://explorer.msn.de/intl.asp

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