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

Distance property does not seem to be working #31

Open
rremigius opened this issue Dec 19, 2017 · 0 comments
Open

Distance property does not seem to be working #31

rremigius opened this issue Dec 19, 2017 · 0 comments

Comments

@rremigius
Copy link

HI, I'm trying add zoom buttons to my scene with orbit controls, so I need to programmatically increase/decrease the distance of the orbitcontrols camera.

The issue is that the distance property doesn't seem to do anything, not the initial value, nor the programmatically updated value.

I've created a codepen to illustrate the issue.
https://codepen.io/anon/pen/zpqqEQ

Is there something I overlooked, or is the distance property malfunctioning?

@rremigius rremigius changed the title Programmatically increase distance/change position without breaking manual control Programmatically change distance Dec 19, 2017
@rremigius rremigius changed the title Programmatically change distance Distance property does not seem to be working Dec 19, 2017
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

No branches or pull requests

1 participant