You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Is there something I overlooked, or is the distance property malfunctioning?
The text was updated successfully, but these errors were encountered:
rremigius
changed the title
Programmatically increase distance/change position without breaking manual control
Programmatically change distance
Dec 19, 2017
rremigius
changed the title
Programmatically change distance
Distance property does not seem to be working
Dec 19, 2017
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?The text was updated successfully, but these errors were encountered: