updated glide to modify rigidbody2D velocity