Function RigidBody2D.setWeight

void setWeight (
  const(double) weight
) nothrow @nogc;