Comments (4)
It works on my macOS trackpad.
Your mouse might not emit horizontal value
Here is the code
https://github.com/yomotsu/camera-controls/blob/cee042753169f3bbeb593833ce92d70d52b6862f/src/CameraControls.ts#L892C5-L892C5
from camera-controls.
I think you're right. I'm on PC.
I noticed if I use an advanced mouse (like the MX Master 3) which has an additional horizontal scroll-wheel, then it works fine.
However I think most users will only have a vertical single scrollwheel on a standard mouse.
from camera-controls.
Thanks for understanding.
As long as the mouse does not have the feature, I think we can't detect horizontal wheel movement...
Therefore, the answer to this issue is: it depends on the mouse device...
from camera-controls.
Closing due to lack of feedback.
from camera-controls.
Related Issues (20)
- enablePan HOT 1
- How to control 'enablePan'、'enableZoom' like OrbitControls? HOT 1
- Add the ability to hold children HOT 4
- Give `setLookAt` a linear option HOT 2
- If pointer is held down without any movement "updated" keeps firing HOT 3
- Changing camera up vector significantly causes weird behavior HOT 4
- Camera Controls - Scrolling HOT 1
- Infinity Dolly not working HOT 5
- Add back modifier keys to pointer events HOT 1
- setLookAt doesn't trigger an update of the viewport attributes HOT 4
- Slow pinch-zoom when using orthographic camera HOT 7
- problem HOT 1
- Bug with setting interactiveArea top position. HOT 1
- Dolly behavior in first person mode is different when scrolling up and down HOT 1
- How to use CameraControls in react native HOT 2
- camera-controls does not export its types HOT 7
- Lerping min/max zoom set on Orthographic Camera HOT 1
- moveTo function in orthographic mode has inconsistent behaviour on mobile devices/ipad HOT 1
- Best coding pattern for onresize? HOT 1
- Pointer lock behaviour different ? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from camera-controls.