Roll function in a flight simulator