3D ball on a winding track