title: Why is the physicsBody bigger than visual model in sceneView?
body: <p>I am working on the game with spaceship flying around earth and destroying objects. I wanted to add some reaction when object hit the spaceship but the contact is detected before it &quot;hit&quot; visual model of the spaceship. I found out that the physicsbody of the node is bigger than visual model. What should I do to set it on the same size?
  Here's some more info:</p>
  <ul>
  <li><p>I created model built of many basic shapes/nodes in SceneKit editor in Xcode</p>
  </li>
  <li><p>I set physics body in the editor with options: dynamic type, default shape, bounding box, scale: 1.</p>
  </li>
  <li><p>There's part of my code that do something with the ship node:</p>
  <pre><code>  shipNode = scene.rootNode.childNode(withName: &quot;ship&quot;, recursively: true)!
    shipNode.physicsBody!.physicsShape = SCNPhysicsShape(node: shipNode, options: nil)
    shipNode.physicsBody!.categoryBitMask = 4
  </code></pre>
  </li>
  </ul>
  <p><a href="https://i.stack.imgur.com/dnMTZ.png" rel="nofollow noreferrer">screen of UI of my game, with physicsshapes visible</a></p>