You can always make a system that checks the ship distance to the track's wall and corrects the ship's direction using the nearest face normal of the track wall, that way the ship velocity will always be perpendicular to the wall normal. But I guess that might take a lot of memory... I'll try it here...