Re: [JAVA3D] Adding Objects to a Live Scene Graph

2001-02-06 Thread Michael B
You can add these things, but they must be added to a branchgroup before being added to a live scene. ie To add a behavior to a live scene use: MyBehavior mybehavior=new MyBehavior(); BranchGroup adderGroup=new BranchGroup(); adderGroup.addChild(mybehavior); liveScene.addChild(adderGroup); hope

[JAVA3D] Adding Objects to a Live Scene Graph

2001-02-04 Thread Rick Livesey
Hi all, Sorry if this is the wrong place for programming issues but I'm new to this game. I'm having problems adding objects to a scene graph at runtime. I keep getting the Restricted Access error, saying that I can only add a Branch Group. This I've tried, together with setting all the capa