title: Remove physics body
body: <p>Is there a way to remove a physics body in swift 3?</p>
  
  <p>All I found was <code>myNode.phyisicsBody = nil</code> but it doesn't work in swift 3</p>
  
  <blockquote>
    <p>"Nil cannot be assigned to type SKPhysicsBode"</p>
  </blockquote>
  
  <p>In fact, by default my <code>scene.sks</code> has a child Scene who has a <code>physicsBody</code>, a small dot at the center, and it's this one I would remove</p>
  
  <p><a href="https://i.stack.imgur.com/0G8hN.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0G8hN.png" alt="&lt;code&gt;The code to get the physicsBody&lt;/code&gt;"></a>
  <a href="https://i.stack.imgur.com/h2Pi9.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/h2Pi9.png" alt="&lt;code&gt;scene.sks with &quot;Scene&quot; child&lt;/code&gt;"></a>
  <a href="https://i.stack.imgur.com/YYP5o.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/YYP5o.png" alt="Small dot that I don&#39;t want"></a></p>