added param to invert aim and up axis