I'm some sort of a mechanical creature in Blender and I have an issue with locking the rotation.
I have locked every bones rotation on the axis i want to and in the resting position the leg is completely straight:
But when i bend the leg, the leg isn't perfectly straight anymore:
This wouldn't be a big issue, but since it's a mechanical creature with joints that are only supposed to rotate on a certain axis, it just wouldn't make sense to leave it like this.
any suggestions? I'm a total noob at rigging etc.