title: Struggle creating correct physicsbody
body: <p>In my current project I create some node that I would like to create physics bodies for.
  This creates the nodes:</p>
  
  <pre><code>let seg = SKShapeNode(ellipseOf: CGSize(width: 10 / xScale, height: 10 / yScale))
  let offset = (seg.frame.height / 1.5) * CGFloat(i + 1)
  seg.position = CGPoint(x: anchorPoint.x, y: ((size.height / 2) / yScale) + (10 / yScale) - offset)
  
  segments.append(seg)
  addChild(seg)
  </code></pre>
  
  <p>And this is how I currently try to create the bodies:</p>
  
  <pre><code>seg.physicsBody = SKPhysicsBody(circleOfRadius: 10 / xScale / yScale / 2)
  </code></pre>
  
  <p>I dont know how I would go about creating the correct one. It should function like a normal physics body(edge based bodies don't collide with stuff).</p>
  
  <p>Currently when the circles roll down it looks like this although they are initially circles:
  <a href="https://i.stack.imgur.com/f5144.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/f5144.png" alt="enter image description here"></a></p>
  
  <p>Also they look very pixelated. Do you have any idea why?</p>
  
  <p>Thanks for your help!</p>