Change most of the RigidBodyConstraint to Constraint. The GazeConstraint class and the QuasiStaticConstraint has not been changed yet