Skip to content
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

Orbit Controls - Panning #132

Closed
ferrolho opened this issue Nov 18, 2019 · 1 comment · Fixed by #133
Closed

Orbit Controls - Panning #132

ferrolho opened this issue Nov 18, 2019 · 1 comment · Fixed by #133

Comments

@ferrolho
Copy link
Collaborator

After updating three.js to v110 (#131) the orbit controls have now a different panning default behaviour:

.screenSpacePanning : Boolean
Defines how the camera's position is translated when panning. If true, the camera pans in screen space. Otherwise, the camera pans in the plane orthogonal to the camera's up direction. Default is false.

Relevant docs: https://threejs.org/docs/#examples/en/controls/OrbitControls.screenSpacePanning

Personally, I'd rather have the old behaviour. Is there any way, from MeshCat.jl, we can set the above boolean to false?

@rdeits
Copy link
Owner

rdeits commented Nov 18, 2019

Ah, whoops, I just missed that. We should just restore the old behavior in the meshcat javascript repo and then pull that into MeshCat.jl again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants