I have a sphere on which lie 'n' tiny spheres. The big sphere has a rotation behaviour (stimulus:mouse drag). The tiny spheres are supposed to follow this rotation (being part of the big sphere). So the scene graph encompasses a SimpleUniverse object, to which a BG is attached, to which a TG, a rotation behavior and light are attached.On the other hand, the TG is attached to a big sphere and to other TG's which attach to the tiny spheres.
220.127.116.11 big sphere
Now, during runtime, n has changed to m. And creating the tiny TG's and adding them to the mother TG caused an error. Is there a solution to this ? If the tiny TG's where directly under a BG that would be an easy issue to address, but being under another TG, I can find no way of dynamically attaching these tiny spheres to the big sphere!
I'd appreciate any help !