public void changeGravity(Vector2 dir)    //Change the gravity
 {
     pm.changeGravity(dir);
 }