title: object.hide() is not hiding the full kinetic body in Godot
body: <p>I'm trying to code a game in Godot 3 where my character can collect certain objects. The moment the character collects them - i.e collides with them, the object disappears and gets added to an array.</p>
  
  <p>While doing this, I have successfully managed to make the object disappear, but somehow the area around which the object existed is still not walkable - in the sense, the collision object of the kinematic body object is somehow still functioning and I don't want it to still be there.</p>
  
  <p>This GIF explains the problem:</p>
  
  <p><a href="https://imgur.com/mDNw1O4" rel="nofollow noreferrer">Problem GIF</a></p>
  
  <p>Code for collision - </p>
  
  <pre><code>for body in $hitbox.get_overlapping_bodies():
      if(body.get("type")!= "prota"):
          if body.get("type")=="ingredient":
              inventory.add_to_inventory(body, body.get("type"), "collect")
  </code></pre>
  
  <p>Inventory.add_to_inventory function - </p>
  
  <pre><code>func add_to_inventory(the_item, item_type, cause):
      if item_type=="ingredient":
          if cause=="collect":
              inventory_ingredients.append(the_item)
              the_item.hide()
  </code></pre>
  
  <p>The above snipped appends the item into my array as required. It also hides the object but the collision object is still there.</p>
  
  <p>Structure of the collision object (Pineapple):</p>
  
  <p><a href="https://i.stack.imgur.com/QtjOD.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/QtjOD.png" alt="enter image description here"></a></p>
  
  <p>Placement of objects on my LevelL</p>
  
  <p><a href="https://i.stack.imgur.com/aWN8i.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/aWN8i.png" alt="enter image description here"></a></p>
  
  <p>The Sprite's texture is loaded using code and is not manually added.</p>
  
  <pre><code>get_node("Pineapple").get_node("Display").set_texture(pineapple)
  </code></pre>
  
  <p>Any help regarding this will be appreciated. I am willing to provide more details if needed. I have very little background in coding and I might have made rookie mistakes too!</p>