Auto-moto wheel locking mechanism

Hi all,

I have relatively simple motorcycle rig, part of it are the wheel bones that spin as long as you move the root bone (Transformation constraint - location to rotation). This rig does everything I need for now except the locking of the wheels. I want it for brake slides (see 001_animation_test), when you push brake lever fully so that the wheel locks and motorcycle starts to slide. I can somewhat achieve it by keyframing the actual constraint but I thought maybe someone knows more elegant solution to this problem. See attached files for reference.


rig.blend (1.1 MB)