Add angularOnly/linearOnly to 6dof constraint