How to get hinge joint negative targetVelocity to work?

I’m having an issue with a hinge joint since installing the Unity 5.2 update. I want to be able to rotate it forward or backward by changing the target velocity to either positive or negative.

According to the Unity documentation, “A negative targetVelocity will make the motor spin in the opposite direction.”(

This doesn’t work. The editor won’t allow negative numbers in the target velocity. I’ve tried it with scripting and that also doesn’t work. I had it working with a script before the update, but I haven’t been able to see any issues that mention this and I can’t seem to get it working.

Does anyone know of a fix for this?

I also have had this issue beginning with the transition from 4.6 to 5, and it seems to change with each update.

In the 5.2 release I found that I could rotate my hinge-motor object 180 degrees on the Z axis, use a positive value on target velocity and this “reversed” the rotation.

I’m not certain this would work for you but would be interested in knowing.

Side Note: I believe that this workaround should work properly for now and still work when the “bug is fixed”.