View Full Version : Wire local movement?
09-14-2006, 09:43 AM
How can I wire the position of an object to another so that one moves by the offset of which I moved the control ? Thanks in advance.
I think that you are going to have to be more clear on what you are looking for. Tell us what you have tried and specificly what objects need to do what.
09-14-2006, 01:51 PM
Hi Paul and thanks for your quick response. Pardon about my technical dificulties in english :) I'll do my best.
So, I have this Shape (CTRL_Mouth) that's linked to a Rectangle to limit the movement (basically just like the Joystick Manipulator) and then I have a Point Helper linked to another Rectangle (GUI_Head). Well, the thing is that either in World or Parent coordinates, the position of the CTRL_Mouth and the Point Helper is different, so I can't direct wire them. What I would like to know is how to move the Point Helper in relative coordinates based on the CTRL_Mouth.
CTRL_Mouth is at [0,0,0] in Parent coordinates, by other words, it's centered inside the Rectangle. Then I have the Point Helper at [10,5,0] in Parent coordinates. When I wire them, the Point Helper assumes the [0,0,0] at is current Parent coordinates, which is wrong or at least it's not what I want. I would like to have the CTRL_Mouth and the Point Helper in is current position and then, when I moved the CTRL_Mouth in X by 5 units for example, the Point Helper would move also like that, like an offset to the position [15,5,0] and the CTRL_Mouth would be at [5,0,0]. I've tried Freeze Transform, and it works, but since I have a Position List with Position Constrain and Position XYZ, it would work for this case, I would loose any association with other objects.
Thanks for your time and I hope I've been more clear this time :)
You need to start using list controllers. Use the Freeze Transform option in the Alt right click quad menu and that will build a list controller. Wire the second controller in the point helper to the second controller in the control object and you will get what you want. Both of those controllers will have a value of zero.
I cover tips like this in my rigging DVD series from http://cg-academy.net if you are interested.
09-14-2006, 04:25 PM
Thanks again Paul, but the problem with that is that I loose my Position Constrains to other objects (Point Helper is affecting other Point_Helpers). What I did tought now is that I can position all the point helpers before constraining them to each other, freeze transform them, apply position constrains, position xyz and then wiring them... maybe that would work... Cheers!
09-15-2006, 04:55 AM
you only need to modify the wire ecuation, is not necessary make a freeze transform
in your example, the first object is in the [0,0,0] position while the second one is in the [15,5,0], if the relationship between the position of the two objects are direct, you can make an offset in the wire ecuation
position_X object_B=position_X object_A + 15
position_Y object_B=position_Y object_A + 5
position_Z object_B=position_Z object_A
and image example:
09-15-2006, 09:03 AM
Thanks phoelix. That's what I'm currently using for my manipulators I just wanted to know another way of doing that, since the positions arent always so linear. Cya and thanks for all the replies.
List controllers are still the easer method then trying to figure out how much of an offset there is. Just add the list controllers by hand to the existing list controller. When you can a constraint a list controller is built for you. You can add any number of controller to the list.
09-15-2006, 02:09 PM
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.
vBulletin v3.0.5, Copyright ©2000-2013, Jelsoft Enterprises Ltd.