Peasycam disable Right-Zoom function
in
Contributed Library Questions
•
11 months ago
Hello,
I need to disable the zoom by right click function inside peasycam.
sadly I didn't find a way to do it...
I want something like that:
Thank you very much!
Florian
I need to disable the zoom by right click function inside peasycam.
sadly I didn't find a way to do it...
I want something like that:
- cam = new PeasyCam(this,BodyPos.x,BodyPos.y,BodyPos.z,1000);
cam.setMinimumDistance(200);
cam.setMaximumDistance(5000);
//cam.disable(right-drag); // something like that
setMouseControlled
@Deprecated public void setMouseControlled(boolean isMouseControlled)
-
Deprecated.
use
setActive(boolean)
-
Turn on or off default mouse-handling behavior:
left-drag rotate camera around look-at point center-drag pan camera (change look-at point) right-drag zoom wheel zoom -
- Parameters:
-
isMouseControlled
-
-
Deprecated.
use
Thank you very much!
Florian
1