Function Physics2DServerSingleton.grooveJointCreate

Creates a groove joint between two bodies. If not specified, the bodies are assumed to be the joint itself.

RID grooveJointCreate (
  const(Vector2) groove1_a,
  const(Vector2) groove2_a,
  const(Vector2) anchor_b,
  const(RID) body_a = RID(godot_rid(0LU)),
  const(RID) body_b = RID(godot_rid(0LU))
) nothrow @nogc;