fixed getInput to work with infopanel
set angle in rotation