title: How to Pinjoint2D darts(Kinematicbody2D) on moving wall(StaticBody2D) via gdscript
body: <p>I have a shooting darts (KinematicBody2D) that will need to stick on a moving wall (staticbody2D).
  I wants to let the dart stick on the wall, and change position according to how the wall move (currently my wall is moved by updating its position).</p>
  <p>However, the dart does not follow fully the moving path of the wall.</p>
  <p>I end up adding pinJoint2D, but setting the node via gdscript only give me an error</p>
  <pre><code>Invalid set index 'node_b' (on base: 'PinJoint2D') with value of type 'StaticBody2D (StaticBody2DWall.gd)'.
  </code></pre>
  <p>My code in dart node for setting up pinjoint2d goes as below:</p>
  <pre><code>var slide_count = get_slide_count()
  if slide_count:
      var collision = get_slide_collision(slide_count - 1)
      var collider = collision.collider
      lif collider.is_in_group(&quot;wall&quot;):
          $PinJoint2D.node_b = collider
  </code></pre>
  <p>Anyone please help. Please let me know if there's a better practice.</p>