A rigid three-dimensional object has 6 degrees of freedom, 3 translations and 3 rotations. Thus there is an exact balance between the numbers of constraints and degrees of freedom.
A stationary three-dimensional object possesses 6 degrees of freedom—3 translations and 3 rotations. As a result, the count of constraints aligns with the degrees of freedom.