Combination lock
by Timothy J. Weber
tjweber@lightlink.com
http://www.lightlink.com/tjweber

Permission is granted to use this model for any purpose.

Please credit me, and let me know if you improve it, or just if you use
it.

Note the pose sliders for opening the hasp and for twiddling the
faceplate. The faceplate pose is set up so the pose percentage matches
the number indicated. (Actually, it's the pose percentage modulus 40.)
Therefore, a positive number equals a counterclockwise rotation. So if
your combination is "10, 20, 30", you could animate that like this:

Start at 100%. This will ensure that we'll go past 0 a few times on our
way to the first number.

Spin right (decrease pose %) a few revolutions to 10: 10 - 40 = -30%.

Spin left (increase pose %) past 10 to 20: 10% hits 10 once, then 20% hits 20.

Spin right (decrease pose %) to 30: 30 - 40 = -10%.


