14 lines
		
	
	
		
			420 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			420 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| from lnx.logicnode.lnx_nodes import *
 | |
| 
 | |
| class RemovePhysicsNode (LnxLogicTreeNode):
 | |
|     """Removes the rigid body from the given object."""
 | |
|     bl_idname = 'LNRemovePhysicsNode'
 | |
|     bl_label = 'Remove RB'
 | |
|     lnx_version = 1
 | |
| 
 | |
|     def lnx_init(self, context):
 | |
|         self.inputs.new('LnxNodeSocketAction', 'In')
 | |
|         self.inputs.new('LnxNodeSocketObject', 'RB')
 | |
| 
 | |
|         self.outputs.new('LnxNodeSocketAction', 'Out')
 |