18 lines
		
	
	
		
			469 B
		
	
	
	
		
			Python
		
	
	
	
	
	
		
		
			
		
	
	
			18 lines
		
	
	
		
			469 B
		
	
	
	
		
			Python
		
	
	
	
	
	
|  | from lnx.logicnode.lnx_nodes import * | ||
|  | 
 | ||
|  | class GetContactsNode(LnxLogicTreeNode): | ||
|  |     """Returns an array with all objects that are colliding with the
 | ||
|  |     given object. | ||
|  | 
 | ||
|  |     @seeNode Get First Contact | ||
|  |     """
 | ||
|  |     bl_idname = 'LNGetContactsNode' | ||
|  |     bl_label = 'Get RB Contacts' | ||
|  |     lnx_section = 'contact' | ||
|  |     lnx_version = 1 | ||
|  | 
 | ||
|  |     def lnx_init(self, context): | ||
|  |         self.add_input('LnxNodeSocketObject', 'RB') | ||
|  | 
 | ||
|  |         self.add_output('LnxNodeSocketArray', 'Contacts') |