TiagoCavalcante / r3f-native-orbitcontrols

OrbitControls for React Three Fiber in React Native
MIT License
72 stars 10 forks source link

Pan vertically with only one finger #22

Closed computabeast closed 1 year ago

computabeast commented 1 year ago

Great project.

I'm trying to implement a simulated 2D, infinite vertical scroll, and would like OrbitControls to pan the camera vertically with only one finger, rather than being forced to use two (I know this is standard). Is OrbitControls configuration something that we could add to the project, or something that is possible to do in its current state? I'm happy to help out with it myself as well.

TiagoCavalcante commented 1 year ago

Hi @computabeast, thanks for creating the issue!

Sorry for the long delay.

I think that you might be looking for MapControls instead.

Currently it is not possible to do with this library, but this feature can be added.

Would you like to implement it?

TiagoCavalcante commented 1 year ago

I'm closing this, if you still have the issue please re-open it