> Date: Mon, 14 Jul 2003 10:16:23 +0200 > From: Botha Levente <[EMAIL PROTECTED]> > > I have a createSceneGraph class in which i put my body parts (all body > parts have their own classes) in a hashtable, then i put them to my > root branchgroup. > > I have created a keyboardbehavior to have keyboard interactions for > moving my human. In this class (keyboardnavigation) i have some > methods which calculates the necessary values for the leg movement > (the right angles). > > I don't know how to include some interpolator on a live scenegraph. I > think i should add a rotationinterpolator to the parent of my moveable > leg but i can't. I have tried to put this interpolator in "leg's" > class but it doesnt start rotating.
Give us an idea of your scene graph structure -- how your TransformGroups, content nodes, and Behaviors hang together in the scene, and where you're performing your computations. Sounds like you're missing something fairly simple that we could point out on the interest list fairly easily. Otherwise, give the list some code to look at. -- Mark Hood =========================================================================== 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".
