Open eTrey13 opened 2 weeks ago
Welcome! 👋 Thanks for opening your first issue here! And to ensure the community is able to respond to your issue, please make sure to fill out the inputs in the issue forms. Thank you!
I am interested in this issue you want a toggle between zoom pan and rotation you can achieve it by making an object having all properties and pass it as argument in function
I am the person involved in modifying orbitControl(). Regarding rotation and zoom, this can be prevented by setting the coefficient to 0. Therefore, I feel like there is little point in making it an option, in my opinion. Regarding pan, it does not work on mobile tphones unless you use two or more fingers. The buttons used on the mouse are also different. I don't quite understand what the problem is.
However, if there is something useful other than the freeRotation option that I have prepared, and it makes sense in terms of convenience, I will not deny its introduction. Of course, in that case, you need to make sure that the default behavior does not change.
Increasing access
Unsure
Most appropriate sub-area of p5.js?
Feature enhancement details
Make orbitControl have options to enable/disable if it controls zoom, pan, and rotation. Sometimes only controlling one or two of those would be useful.