How to adjust an attitude as efficiently as possible