Constraint question

Become a member of the CGSociety

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

Thread Tools Display Modes
  05 May 2013
Constraint question

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.
  05 May 2013
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.
  05 May 2013
Yeah, multiply-divide node seems to be the best way, always use a direct connection when you can avoid an expression.
  05 May 2013
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.
  05 May 2013
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.
  05 May 2013
Thanks everyone..
  05 May 2013
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.
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
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
Society of Digital Artists

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

All times are GMT. The time now is 02:05 PM.

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