[osg-users] how i can remove a sphere that is in a vector in the scene

Alvaro Ginestar alvaroginestar at hotmail.com
Thu Oct 22 04:52:28 PDT 2015


hi everyone!!i try remove a sphere, with "removechild" it doesn't work.i use root->addChild(vector[x]); for to add the sphere in a node root and then i try to remove with root->removeChild(vector[x]);In the scene is draw a sphere, but it doesn't remove the sphere.someone know I'm doing wrong? 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20151022/3fbe289c/attachment-0002.htm>


More information about the osg-users mailing list