sixDoFMotion: Adding restraints and constraints to the motion of objects.