by default the scroll wheel does a zoom in-out thing, how do i disable this? because im using the scroll wheel for other functions
Do you mean in the ChaseCamera / ThirdPersonController?
You can try setting the min and max to the same value, that way the mouse wheel has no effect.
[java]
chaser.getMouseLook().setMinRollOut(50);
chaser.getMouseLook().setMaxRollOut(50);
[/java]
Are you using JME2 or JME3?
If it’s JME3 and the flycam you need to delete the mapping from the inputManager “FLYCAM_ZoomIn”,“FLYCAM_ZoomOut”
If you want to disable all that extra input you can do flyCam.setEnabled(false). But I think that totally stops it from doing anything, so I’m not sure if it’s useful to you.
I am using JME3, so how would I delete the mappings if I never defined them?
inputManager.deleteMapping(“FLYCAM_ZoomIn”);
inputManager.deleteMapping(“FLYCAM_ZoomOut”);
Another way:
[java]flyCam.setZoomSpeed(0);[/java]
Regards!!!