I want to custom control of cam. I have override the FlyByCam and rename it as Flybycam_Customed.
In simpleInitApp()
{
flyCam.setEnabled(disable);
Flybycam_Customed fly= new Flybycam_Customed(cam);
}
I code like this and want to disable old flyCam firstly . Then to apply new custom Flybycam . But it didn’t work. It seems that no input was accepted. Anyone knows how to do this kind of replacement?