Function Physics2DServerSingleton.bodySetShape

Substitutes a given body shape by another. The old shape is selected by its index, the new one by its RID.

void bodySetShape (
  const(RID) _body,
  const(long) shape_idx,
  const(RID) shape
) nothrow @nogc;