Sounds like you just want to rotate the distort mesh around some other axis besides the z axis like setting the angle does.
You can search the forum for “rotate around a point” or “rotate around x axis” to get you the math involved. Search posts by me for 3d rotation and I think there’s some examples too.
The math involved is just taking the corner points and multiplying each one by a rotation matrix. Ideally it would only need to be an 2d rotation which simplifies the math. Alternately you could multiply them by a rotation quaternion. Anyways, just some ideas where to look to get a possible solution. At least till someone can make and example.