Constraint question

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
Old 05 May 2013   #1
Constraint question

Hi,
I am wondering how you would do the following in Maya (not a regular user).

Constrain object A to object B so that when object B moves 1 meter object A moves 2 meters (or any defined multiplier of A)..

So far all I can find is the constraint weight options which do not act as a multiplier but rather a way of weighting the effect between multiple constraints.

Thanks for the help.
 
Old 05 May 2013   #2
Maybe you can create a direct connection and put a multiply and divide node in between it. Not sure how to handle the offsets between the two objects but maybe it's a start. Expressions is another method.
 
Old 05 May 2013   #3
Yeah, multiply-divide node seems to be the best way, always use a direct connection when you can avoid an expression.
__________________

gibby3d.com
 
Old 05 May 2013   #4
Originally Posted by jgibz: Yeah, multiply-divide node seems to be the best way, always use a direct connection when you can avoid an expression.


Any specific reason you should avoid expressions? Also by direct connection do you mean a set driven key? Just wondering because I personally would have used an expression in OP's situation.
 
Old 05 May 2013   #5
Expressions are evaluated every frame, so they aren't as fast. SDK isn't a direct connection. A direct connection is like setting nodes to pass information directly to each other. Like node.rotateX = node2.rotateY. You can use the connection editor or drag from one node to another in the hypershade, or hypergraph.
__________________

gibby3d.com
 
Old 05 May 2013   #6
Thanks everyone..
 
Old 05 May 2013   #7
Thread automatically closed

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.
 
Thread Closed share thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 11:21 PM.


Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.