Adverti horiz upsell

KDL_normalizeConstraintWeights.mel 1.0.0 for Maya (maya script)

Force Normalize a constraint with two weights.

License
Button download
386 Downloads

Compatibility

  • 8.x, 7.x, 6.x, 5.x, 4.x, 3.x, 2.x, 1.x

Operating Systems

  • Irix
  • Linux
  • Mac
  • Windows

History

Created:10/20/2007
Last Modified:10/20/2007
File Size: 1.88 KB
Here's a really handy little rigging script.

If you ever have an object constrained to two other objects (instead of the normal 1) then this script will 'normalize' the results. Normalize just means "make sure all the values ad up to 1".

So if you have a cube and it is point constrained to locator 1 and also to locator 2 (thus maintaining a constant distance between the two locators when they are moved- a very handy little trick). this script will make it so that the sum of both constraint weights add up to 1. It also make them connected to each other, so if you want to make locator 1 have more control over the cube, you just adjust it's constraint weight to a higher number (from 0.5 to say 0.8). The second constraint weight automatically shifts down to accommodate (from 0.5 to 0.2).

It's a dumb little script, but it comes in handy.

Please use the Bug System to report any bugs.
Please use the Feature Requests to give me ideas.
Please use the Support Forum if you have any questions or problems.
Please rate and review in the Review section.