Physics 360-degree rotation/movement inside a cylinder

what about attaching the ship to a sphere, with a rigid body constraint (like a hinge that is free to move along the cylinder’s axis)? you get to keep the advantages of rigid bodies without worrying about gravity (just turn it off?)