PDA

View Full Version : blend constraint weighting


paul.yan
08-03-2005, 06:52 PM
I have an object point-constrained to another object with "maintain offset" turned on, and "enable reset position" off. At one point I would like to just animate the constraint weight from 1 --> 0, and then back to 1.

I noticed that when the weight is any positive value > 0, it acts as if it = 1 (unless constrained to a second object). How can I make it so a weight value of 0.5 gives it half the constraint from its relative position? :shrug:

JoeSchmo
08-04-2005, 02:32 AM
As far as I know point constraints dont have a blend

node, but fortunately parent constraints do...

so here is one of probably several workarounds...



start with your first object, then snap a locator

to its pivot, point constrain the locator to your object.

Next, parent constrain your second object to that locator

using only the translate options.



when you set a key on your first object also set a key on the parent

constraint, when you do a new node called blendParent will appear...

Key That 0-1 for a nice blend



Joe

sauzer
08-04-2005, 07:38 AM
I would do the following:

1) create an empty group which will always be at the world origin
2) constraint object A to object B and the empty group

now you have a blending between you object and the world origin
You have to animate the WO and W1 of the point constraint or you can create a new attribute that controls both of them at the same time.

I hope this answers your question.

paul.yan
08-04-2005, 06:50 PM
JoeSchmo - unfortunately, the moment I change the new blendParent node to 0, it translates the locater back to its original position, taking the second object with it. I am looking to have the second object keep its relative position, and allow for it to blend into its keyed translation.

sauzer - this was the first thing I tried, but if I change any of the constraint weighting to anything other than 1, my object can never be reset to its original position unless I counter animate it back.

Thanks so far, but any other ideas?

sauzer
08-04-2005, 07:02 PM
paul.yan - Do you have to use "maintain offset"? Because that's what's causing the problem I think.

JoeSchmo
08-05-2005, 12:11 AM
sounds like you parent constrained the
locator to the second object instead of vice versa.

with constraints, the selection order is important.

first you select the first object,shift select the locator
constrain>point

next you select that locator, shift select the second object
constrain>parent (translate only option)


Joe

PS I believe version 7 adds a blend node to all constraint...

CGTalk Moderation
08-05-2005, 12:11 AM
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.