Page 1 of 1
Constrain bone scale to bone position?
Posted: Thu May 14, 2009 7:06 am
by PocketGoat
Is there a script floating around that can constrain a bone's scale to another bone's position? For example, a y of 0 on the control bone makes the constrained bone's scale 0, y 1 = scale 1, etc.
I did a bit of a search but couldn't turn anything up. Not even sure if it's possible.
Thanks.
Posted: Thu May 14, 2009 12:09 pm
by heyvern
Try this post:
viewtopic.php?t=7842
There is a script in that bunch that does what you describe... I am pretty sure there is a translate scale in one of them... I know there is a rotate scale... I am pretty sure I did every combination I could think of.
There is also a "sticky" at the top of the scripting forum that has links to a lot of forum members who do scripting. I have been a bit lax keeping it up to date... but there is a lot of stuff there.
-vern
Posted: Thu May 14, 2009 12:11 pm
by PocketGoat
Thanks. While you're online heyvern it'd be good if you could check out my post in the pose thread on the scripting forum and tell me if I'm on the right track.
Posted: Thu May 14, 2009 1:11 pm
by PocketGoat
Hmm. I looked through your list of tools in the first post before and even looking again now I still can't see anything that describes what I'm after. Maybe I'm just blind, or too tired. If you could tell me the name of the tool that'd be a big help.
Posted: Thu May 14, 2009 1:30 pm
by heyvern
Sorry about that... it's down the list, called
The "Flipper".
I used that name because originally I needed the script to "flip" bone directions at a half way point and also to "flip" layer order using z depth. For example my 250+ bone 2.5d head rig originally used a version of the script to "flip" the ear layer order using z depth changes. As the head turns from a front view one ear would go behind the head the other in front. The "flip" happened at the front view.(I have since abandoned that and went with funky overlapping/folding shapes that expand and hide the ears. Works much better).
I basically put everything and the kitchen sink into this script.
Here's a snippet from the description:
Updated
Incorporated TransRotate, RotateTrans, TransScale, RotateScale, etc etc.
This is separate controls from the flipper. These are like constraints but they mix and match types of bone motion.
So yes, TransScale is in there.
-vern
Posted: Thu May 14, 2009 1:31 pm
by PocketGoat
Ahh, awesome. Thanks.