[Closed] Position_Constraint offset value
I want to be able to dynamically change the offset value of a position_constraint from within the script. Is this possible or am I stuck with just the “keep initial offset” option?
I’m thinking if it’s not possible to do it with a position constraint I’ll have to do it with a custom script controller. Anyone have another idea or is that the path to success in this case?
how about using position list controller, where the position constraint is one of the children controllers and a regular XYZ position is another, this way you can controll the offset by changing the value of the XYZ position.
hOpe this helps,
o
thanks for the reply.
yea, I have thought of that as a possibility, but the problem is I want to be able to blend back and forth between the actual world-space XYZ coords and the position constraint, with keyable offset values. I can do it by using the method you suggest, but when blending the weights between the two controllers, the transformations get borked in the ‘tweens because it’s basically blending between two different coordinate systems with only one track per x, y, and z.
I wonder if I explained that correctly… and if I really understand what I’m talking about or not. Any ideas are appreciated!