13 lines
		
	
	
		
			426 B
		
	
	
	
		
			Python
		
	
	
	
	
	
		
		
			
		
	
	
			13 lines
		
	
	
		
			426 B
		
	
	
	
		
			Python
		
	
	
	
	
	
|  | from lnx.logicnode.lnx_nodes import * | ||
|  | 
 | ||
|  | class GetAgentDataNode(LnxLogicTreeNode): | ||
|  |     """Gets the speed and turn duration of the agent""" | ||
|  |     bl_idname = 'LNGetAgentDataNode' | ||
|  |     bl_label = 'Get Agent Data' | ||
|  |     lnx_version = 1 | ||
|  | 
 | ||
|  |     def lnx_init(self, context): | ||
|  |         self.add_input('LnxNodeSocketObject', 'Object') | ||
|  | 
 | ||
|  |         self.add_output('LnxFloatSocket', 'Speed') | ||
|  |         self.add_output('LnxFloatSocket', 'Turn Duration') |