cubebrush
Marketplace
Scripts & Plugins
Maya
$3.0

Maya Animation Constraint Tool v1.0

*UPDATE Oct 13, 2021 - Found a bug when dealing with a non-referenced prop. Fixed that issue with the code. Should run smoothly now no...
Expand

*UPDATE Oct 13, 2021 - Found a bug when dealing with a non-referenced prop. Fixed that issue with the code. Should run smoothly now no matter if the parent or child is a referenced object or not.

This tool you can use to quickly set up a constraint system that will work for whatever situation you should require in a film or tv show production. I have tested this out with every iteration that I ever needed to set up a constraint for the various productions I have been on, and I have had to deal with some heavily complex constraints, and this works in all those situations.


How to Install

  1. Open up Maya
  2. Open the Script Editor in Maya
  3. In the Script Editor Window, go to File > Open Script...
  4. With the script visible in the tab, save the script to shelf... 5 Done!

To use the button

  1. delete any keys on the "child" object
  2. Just select the "parent" first. Then hold Shift + select the "child" controller. Then click on the button cnstSetup button you made on the Maya shelf

For Example: If you want a character's hand to hold onto a glass. Select the wrist controller of the character first, then shift + select the glass controller. Once you do that, hit the constraint script button and voila!


Things To Note

The adjust node name will be a bit different from our usual (to make it unique for coding).

The adjust node will also have attributes in the channel box that links to the 2 switches. Use these instead. This way they are easier to find for keying and moving in the timeline.

*NOTE: This next point (below) only works if the child is NOT a referenced art asset since referenced items cannot have locked channels. Sorry.

The attributes that go "blue" from the constraints get locked up to avoid breaking the constraint in the future. You can always right click these attributes and select "Unlock" to unlock those attributes.


Any Issues?

feel free to email me at [email protected] if there are any issues where this script breaks.


Minimize

You will get 1 file

All files previously purchased will always be available for download in your Library

Similar products