Function Physics2DServerSingleton.dampedSpringJointCreate

Creates a damped spring joint between two bodies. If not specified, the second body is assumed to be the joint itself.

RID dampedSpringJointCreate (
  const(Vector2) anchor_a,
  const(Vector2) anchor_b,
  const(RID) body_a,
  const(RID) body_b = RID(godot_rid(0LU))
) nothrow @nogc;