This fragments shows how to either perturb or set the orientation of a rigid body randomly.