Camera Controller - key board input for panning

Apr 26, 2012 at 5:26 PM

Firstly, thank you for the great work.


My question relates to the behavior of the keyboard panning (shift-arrows).

Clicking left causes the camera to move to the right (model moves to the left).  I realize this is is just a difference in perspective, however feedback I have received indicates that this is counter-intuitive to them.  These folk are video game players in which the more common pan would yield the camera moving in the same direction.


Would it be possible to have an inversion property added?  I investigated stealing keyboard events or overriding gestures, but the camera controller is attaching itself to the keydown event directly.  The only option I found is to disable panning, however I still need panning to occur via addPanForce (which I invoke directly from an onscreen controller I created).



Apr 26, 2012 at 10:07 PM

I added a LeftRightRotationSensitivity property. Try to set this to -1 to invert the keys. 

Apr 26, 2012 at 11:17 PM

Thank you for the quick response.


The LeftRightPanSensitivity and UpDownPanSensivity are exactly what I need, however did you intend to not add the template bindings for all 5 new sensitivity properties (the 2 rotations were added).   I am applying the properties to the CameraController directly for now.

Apr 27, 2012 at 5:48 AM

Of course, I had forgotten the 3 last ones. Thank you, fix submitted.