Sub SetConstraintAngularOnly( constraint_id, flag)
Sets the hinge constraint to limit only angular motion while allowing unrestricted linear (translational) motion.
Related: GetConstraintAngularOnly