Turn off camera input

Apr 22, 2013 at 12:21 AM
Hi. It is any possible way to turn off camera input easier than creating own camera implementing ICamera interface?
Developer
Apr 22, 2013 at 12:27 AM
Edited Apr 22, 2013 at 12:30 AM
What camera are you talking about? :)

FreeCamera:
One simple solution here is to just set the Speed and TurnSpeed to Zero.

BirdEyeCamera:
You could set WheelSpeed and Speed to Zero.
Apr 22, 2013 at 12:34 AM
Edited Apr 22, 2013 at 12:38 AM
Hi! I'll try be more specific. I have Scene object. It has default camera if none is set via Scene.Add(Camera). That camera, or that set via Scene.Add(Camera) has handlers for input. I want to disable it, use the same keys for handling other cases, and after that again turn it back. I think my question is about all default cameras defined in engine, like free, bird eye etc.
It is possible?

Ps. Ok, i see your solution.That should work, but simple flag like, enabled/disabled input would be much more elegant ;p.
Thx for fast replay!