![]()  | 
	
| 
		 
			 
			#1  
			
			
			
			
			
		 
		
	 | 
|||
		
		
  | 
|||
| 
		
	
		
		
			
			 
				
				How to get all the Drawables in  a model as Nodes
			 
			
			
			Hiii 
		
		
		
		
		
		
		
		
	
	I want to get access to all the children of a node. I know I have to use node.getChild but that only gives me nodes which are children of that node. If I want to get access to all the drawables also, what should I do. This the support it shows the getChild don't work with drawables. So what should I do.. Regards Pankaj Bansal  | 
| 
		 
			 
			#2  
			
			
			
			
			
		 
		
	 | 
|||
		
		
  | 
|||
| 
		
	
		
		
		
		 
			
			I have managed to get do this.. 
		
		
		
		
		
		
		
		
	
	sorry for asking this...  | 
| 
		 
			 
			#3  
			
			
			
			
			
		 
		
	 | 
|||
		
		
  | 
|||
| 
		
	
		
		
		
		 
			
			No need to be sorry. Most commands that accept the optional node name argument, can be used to access drawable objects. For example, you can apply a texture to a specific drawable by specifying the drawable name as the node argument to the node.texture command: 
		
		
		
		
		
		
		
		
	
	Code: 
	model.texture(tex,node='drawable name')  | 
![]()  | 
	
	
		
  | 
	
		
  | 
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| 3ds Exported .IVE Model mirrors movement of Mainview | Felix | Vizard | 9 | 05-18-2012 10:17 AM | 
| Change model alpha and memory leak | hosier | Vizard | 2 | 06-25-2009 11:55 AM | 
| Internal nodes of loaded model files? | dtidrow | Vizard | 2 | 05-12-2009 09:55 AM | 
| Collision with child nodes | rubberpimple | Vizard | 4 | 09-17-2008 05:27 PM | 
| Model sizes | Pastscapian | Vizard | 15 | 10-07-2006 03:48 PM |