Hi!

I wonder how I can add a TransformGroup to another compiled TransformGroup. Can I do that?

I have tried to set:

behaviorGroup.setCapability(TransformGroup.ALLOW_CHILDREN_EXTEND);

behaviorGroup.setCapability(TransformGroup.ALLOW_CHILDREN_WRITE);

But it says: javax.media.j3d.RestrictedAccessException: Group: only a BranchGroup node may be added.

Is there a way to do this I’m asking for?

Because all Shapes have one “personal” TransformGroup, that TransformGroup should have another TransformGroup as parent, because I want to rotate the whole model…

 

Regards Tobias Bergman

Reply via email to