How can I make the Orbitcontroller support any vertical rotation?

According to official documents, the maximum vertical Angle is 2 pi and the minimum is 0. How can I make it support any vertical rotation.

If you know the answer or have some ideas, please let me know in the comments. Thanks

Maybe try the TrackballControls

I’m so stupid. Thanks for helping me again。