As in, is it possible for me to set up an armature so that a bone's X-rotation will snap to, say, 30°, -30°, or some multiple of 60° from there? I'm working on a toggle switch, and while I can manually ensure this, I feel like it would be just like constraints to have solved this problem for me.
In other words, if you rotate it to 15° on X, it will snap to 30°; but if you rotate it to, say -17°, it will snap to -30°, which is closer. It feels like it would be easy to implement in Python, but that usually means that someone's already done it.
Thanks.