Function Physics2DServerSingleton.bodyAddShape

Adds a shape to the body, along with a transform matrix. Shapes are usually referenced by their index, so you should track which shape has a given index.

void bodyAddShape (
  const(RID) _body,
  const(RID) shape,
  const(Transform2D) transform = Transform2D([Vector2(1.00000F, , 0.00000F, , ), Vector2(0.00000F, , 1.00000F, , ), Vector2(0.00000F, , 0.00000F, , )], , , ),
  const(bool) disabled = false
) nothrow @nogc;