Copyright (c) 2025
The MIT License (MIT)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Compatibility
-
3.x
Operating Systems
History
Created: | 04/19/2001 |
Last Modified: | 04/19/2001 |
File Size: | 3.2 KB |
Q/A
Adding Secondary Control Direction to Curve
Date: | 04/26/2016 |
---|---|
Submitted by: | jtk700cln |
I stumbled on your rivet script when I was looking for a solution to movement for snake scales. I need to constain a rigid object (the scales) at a consistent point to a deforming one. The script has been working great, but now further into the td process I have some other aspects that I need to resolve. I need an additional constraint direction besides the vertex normal vector obtained from the parent polygon to dictate how the child moves. The plan is to try and modify the script so that the secondary direction follows the edghe flow towards the front end of the object. I am hoping I can take this vector direction easily from the edge itself, but I have a feeling it might not be that simple. I have some limited experience doing this sort of constraint based relationship using dot products and cross products in houdini, but in Maya its a bit more challenging for me. I am confident that I do only need one more direction though. Any suggestions on how to resolve this? I have attached several images on a low poly test object to give you a better idea. The first shows the curve at rest in rest position, while the two second images show how the secondary curve deviates from the ideal vector position along the 'snakes' body surface.
Thank you in advance
Related Items:
-
Universal UV Randomization script for Maya 1.1.0 (maya script)
$20.00 (USD) -
Render Window / viewport Batch Render Script for Maya 1.0.0 (maya script)
$20.00 (USD) -
Oil and vinegar 3D Model
$20.00 (USD) -
Universal IK FK Switch and Match Tool (PRO) 3.1.0 for Maya (maya script)
$25.00 (USD) -
Autorig : bird and flying creature for Maya 1.4.0 (maya script)
$30.00 (USD) -
Edge to Circle for Maya 2.0.0 (maya script)
$20.00 (USD)
Replies to this question: