Is it possible to extend / modify the CameraOrbitControl class? #191
Answered
by
jnsmalm
dougcharnley
asked this question in
Q&A
-
I'd like to be able to customise and have fine grain control over the CameraOrbitControl class so that I can do thing like make pinching zoom more slowly, make orbiting more or less sensitive to cursor movement and limit zoom levels. Is there an established way to do this? Many thanks Doug |
Beta Was this translation helpful? Give feedback.
Answered by
jnsmalm
Nov 6, 2023
Replies: 1 comment 1 reply
-
Hey! Sorry for late reply. Right now the easiest thing is to just copy the source from https://github.com/jnsmalm/pixi3d/blob/develop/src/camera/camera-orbit-control.ts and add the features you need. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
dougcharnley
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey!
Sorry for late reply. Right now the easiest thing is to just copy the source from https://github.com/jnsmalm/pixi3d/blob/develop/src/camera/camera-orbit-control.ts and add the features you need.