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

OrbitControls: pans with inertia when damping is enabled #13453

Merged
merged 1 commit into from
Mar 1, 2018

Conversation

WestLangley
Copy link
Collaborator

Previously, only rotation with inertia was supported.

To demonstrate this effect, I had to add an animation loop to the OrbitControls example. Previously, the example showed how to use OrbitControls with a static scene.

Perhaps we can rewrite the controls to have their own requestAnimationFrame so this is not so complicated for users.

@mrdoob mrdoob added this to the r91 milestone Mar 1, 2018
@mrdoob mrdoob merged commit 8901169 into mrdoob:dev Mar 1, 2018
@mrdoob
Copy link
Owner

mrdoob commented Mar 1, 2018

Thanks!

@WestLangley WestLangley deleted the dev-orbit_damping branch March 1, 2018 06:41
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 this pull request may close these issues.

3 participants