-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adjust camera movement #1
Comments
Hi, The easycam-behaviour you describe is "camera-roll". You can disable it, by limiting the rotations to yaw and pitch only.
The first example is the default setting, yaw-pitch-roll, all enabled. The second example is more like the three.js example, limited to yaw-pitch. |
I also wanted to say thanks for your work on the library. I tried implementing the above to fix the issue, calling setRotationConstraint() in setup(), but it doesn't seem to have any effect. I also can't tell whether it works or not in the examples you posted above. |
Hello Diwi, Thanks in advance, |
First of all I must tell you that this is fantastic, congratulations for such a nice work.
I have an issue that I'm not sure if can be corrected via configurarion. This is the scenario:
See this demo and this one, On both examples drag the mouse following this pattern
What you should see is that with three.js the object moves slowly following more accurate the mouse, whereas with EasyCam the object moves faster and rotating in other axis.
For example, if I move the mouse only horizontally, in three.js the object moves in that plane, but if I perform the same movement with EasyCam the object kind of start wobbling
The text was updated successfully, but these errors were encountered: