View Single Post
  #3  
Old 12-19-2008, 01:37 AM
moooh moooh is offline
Member
 
Join Date: Dec 2008
Posts: 19
I see. Is there any way to re-attach the cube to the scene graph after the unparenting? The reason I wonder is that I still need to have the cube as child of the sphere because alot of transformations are done on the sphere node. Adding another level of hierarchy above the sphere will force me to rewrite quite many parts so I was kind of hoping to avoid that.


Perhaps I could give it a new parent instead of unparenting, maybe assign it to a group node at the times the sphere is invisible and re-assign it back to the sphere when the cube is invisible. I'm going to try this out.

edit:no of course that wouldn't work, the cubes would just move to the group nodes position when they are assigned as childs.

Guess I'm stuck with having to do some rewriting then.

Last edited by moooh; 12-19-2008 at 01:42 AM.
Reply With Quote