Base node for collision objects.
	
	
		CollisionObject is the base class for physics objects. It can hold any number of collision [Shape]s. Each shape must be assigned to a [i]shape owner[/i]. The CollisionObject can have any number of shape owners. Shape owners are not nodes and do not appear in the editor, but are accessible through code using the [code]shape_owner_*[/code] methods.
	
	
	
	
		
			
			
			
			
			
			
			
			
			
			
			
			
			
				Accepts unhandled [InputEvent]s. [code]click_position[/code] is the clicked location in world space and [code]click_normal[/code] is the normal vector extending from the clicked surface of the [Shape] at [code]shape_idx[/code]. Connect to the [code]input_event[/code] signal to easily pick up these events.
			
		
		
			
			
			
			
			
				Creates a new shape owner for the given object. Returns [code]owner_id[/code] of the new owner for future reference.
			
		
		
			
			
			
				Returns the object's [RID].
			
		
		
			
			
			
				Returns an [Array] of [code]owner_id[/code] identifiers. You can use these ids in other methods that take [code]owner_id[/code] as an argument.
			
		
		
			
			
			
			
			
				If [code]true[/code], the shape owner and its shapes are disabled.
			
		
		
			
			
			
			
			
				Removes the given shape owner.
			
		
		
			
			
			
			
			
				Returns the [code]owner_id[/code] of the given shape.
			
		
		
			
			
			
			
			
			
			
				Adds a [Shape] to the shape owner.
			
		
		
			
			
			
			
			
				Removes all shapes from the shape owner.
			
		
		
			
			
			
			
			
				Returns the parent object of the given shape owner.
			
		
		
			
			
			
			
			
			
			
				Returns the [Shape] with the given id from the given shape owner.
			
		
		
			
			
			
			
			
				Returns the number of shapes the given shape owner contains.
			
		
		
			
			
			
			
			
			
			
				Returns the child index of the [Shape] with the given id from the given shape owner.
			
		
		
			
			
			
			
			
				Returns the shape owner's [Transform].
			
		
		
			
			
			
			
			
			
			
				Removes a shape from the given shape owner.
			
		
		
			
			
			
			
			
			
			
				If [code]true[/code], disables the given shape owner.
			
		
		
			
			
			
			
			
			
			
				Sets the [Transform] of the given shape owner.
			
		
	
	
		
			If [code]true[/code], the [CollisionObject] will continue to receive input events as the mouse is dragged across its shapes.
		
		
			If [code]true[/code], the [CollisionObject]'s shapes will respond to [RayCast]s.
		
	
	
		
			
			
			
			
			
			
			
			
			
			
			
				Emitted when [method _input_event] receives an event. See its description for details.
			
		
		
			
				Emitted when the mouse pointer enters any of this object's shapes.
			
		
		
			
				Emitted when the mouse pointer exits all this object's shapes.