Function Physics2DServerSingleton.bodySetMode

Sets the body mode using one of the bodymode constants.

void bodySetMode (
  const(RID) _body,
  const(long) mode
) nothrow @nogc;