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:
--
View view = new View();
ViewPlatform viewPlatform = new ViewPlatform();
view.attachViewPlatform(viewPlatform);
view.addCanvas3D(mainCanvas);

cameraTG.addChild(viewPlatform);

KeyNavigatorBehavior keyNavBeh = new KeyNavigatorBehavior(cameraTG);
// Option:#1
//vpTrans.addChild(keyNavBeh);

// Option:#2
vpTrans.addChild(cameraTG);

vpRootBG.addChild(vpTrans);
--

If I do option #1 the scene shows me an applet without content; If I do
option #2 my canvas shows to me the expected scenegraph, but the KeyBehavior
doesn't get any effect for my camera.

Some hints !? Thnx in advance....�:0). Thomas

_________________________________________________________________
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