I’ve checked all the archived posts and still haven’t found a surefire way to get pins/nails to work when working units are set to meters. I’m just wondering before we change our entire project from meters to centimeters, that there is no way to fix the pin/nail problem. Thanks.
Working Units - Meters and Cent.
I’m guessing nobody knows the solution since nobody answered after a week. For anyone who is wondering the same thing, the guys at syflex said you could try rescaling the pins/nails by 100 (might have heard that somewhere). But they also mentioned that the problem has been fixed for the soon to be Maya 8 version.
Hi Everyone. I know many people have had the same problem I have with contraints not working when working units is set to meters. I personally suggest using centimeters at all time. But just in case…as in my situation, here is a fix I finally came up with. Here’s the comments from the two scripts which are located in the zip below. Maybe someone has come up with a better fix, but this is the best I could do. Enjoy.
//========================================================================================
//
// Fixes nail problem while using working units set to Meters. Syflex calculates nail and pin
// contraints as if you were using centimeters. Thus snapping all your costraints near the origin.
// This script fixes said problem.
// Edits the nail() proc in syflex.mll to multiply all xyz vertex positions by 100.
//
// Use this script to create nail instead of Syflex > Constraints > Create Nail.
// Select cloth vertices and call syCreateNailFix()
//
// NOTES
// This does not edit syGetNail and syAddNail. To use them, you must do a similar thing to those procs.
// This is not my original code. It is all syflex with some small edits.
// Email any questions/suggestions: emrong@gmail.com
//
// Keep $scaler to 100 when using meters. (May also be edited for other working units. ie. Centimeters = 1)
//
//
//========================================================================================
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.