}
public void removeChild(Shape3D child) {
BranchGroup childParent = (BranchGroup) child.getParent();
root.removeChild(childParent);
childParent.removeChild(child);
}
private void addNavigators(BranchGroup root) {
KeyNavigatorBehavior navigator = createKeyboardNavigator(viewTransform);
root.addChild(navigator);