Sets body's friction.
body
@override void setFriction(int body, double friction) => bodies[body]?.friction = friction;