I want to be able to adjust pan speed based the distance, eg.
- default pan speed is 50
- min distance pan ratio is 0.5 > pan speed = 25
- max distance pan ratio is 1.5 > pan speed = 75
Ratio will make pan controller dependent on zoom controller. It might be good idea to provide dependency via main camera controller ( serving as IoC container ).
I want to be able to adjust pan speed based the distance, eg.
Ratio will make pan controller dependent on zoom controller. It might be good idea to provide dependency via main camera controller ( serving as IoC container ).