PDA

View Full Version : New Plugs


Labuzz
11-07-2003, 03:09 PM
In the future I will add my older plugs in this file.


Selection tools :

-selectDescendants : Select all the descendants of the currently selected items.
The plug does support multiple hierarchys.

-selectDescendantsBones : Same thing but will select only descendants bones.
If your selected item isn't a bone, he will be deselected.
The plug does support multiple hierarchys.

-selectDescendantsNulls : Same thing with nulls.
If your selected item isn't a Null, he will be deselected.
The plug does support multiple hierarchys.

-selectHierarchyRoot : Select the roots of the currently selected items.
The plug does support multiple hierarchys.

Setup tool :

-LookAtStp(-69,1,0,0) : Use the plug in setup mode to "target" (or "look At" in Maya words)
another item. you need to select 2 items. The first one will look at the second.
This function needs parameters:

* the first one ( -69 in the example above ) is used to store some temp values ( key ) in a frame,
so if you have some animation on the frame -69 choose another frame.

* The second is multiplier for the length of the bone ( if your targeting object is a bone ).
By default this is one, this mean that the tip of your bone will reach the target.
Enter .5 and you will have the tip of the bone perfectly in between the root of the bone
and the target.

* Third is a placement for the item. At zero he stays in place, at 1 he will be placed on
the target.

* Last one is an offset value placement.


delete the helper Null that I use for coordinate system ref.


File can be found here :
http://groups.yahoo.com/group/pmGmessiah/files/BBToolsV001.zip

Geco
11-08-2003, 06:16 AM
merci beaucoup. :thumbsup:

CGTalk Moderation
01-16-2006, 03:00 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.