[Closed] parent follow child
I need to make one object to follow its child position. I mean, I have two objects A and B, A is B’s parent and i want A to follow B when i move B.
I’ve tried with constraints, instancing B’s position controller to A and lots of other things but the result is always an error or a dependency loop message.
I know that the things I ask here are very strange but I need them for my work.
I would like to know if this question has an answer or I’m trying to do something IMPOSIBLE.
Thanks.
A parent defines a coordinate space for the child’s transformations.
If the parent were to follow the translation of the child, from POV of the child the child would not be moving at all relatively to its parent!
In other words, moving the child and moving the parent the same way would be equivalent to moving the parent and NOT moving the child at all. So, if you want the parent and the child to move together, you HAVE to move the parent only.
Unless I am missing something…
Yes, you are right, but i need to do it picking the child and moving the child.
i supose i’m not explaining myself very well. sorry my english is not very good.
Here is a better explanation of what i want to do. See the Image
I want pointB to move when y move point2.
Make 2 single-bone IKs: from A to B, and from B to C. Move the goal on B (not B itself), which will rotate A, but keep the goal at C oriented the same (as long as it is not parented to B or the B goal). This is pretty basic rigging- you need to get your rigging concepts down before you start scripting anything.
Edit: clarified a bit.
your solution doesn’t work Professor420, thanks anyway. And thanks for the advice about my rigging concepts.
I don’t understand your diagram, then. Make it clearer and try diagramming only the concept this time, not the implementation.
What about not parenting them and just instancing A’s position / rotation to B? Then they’ll follow each other. If you need a to be parent to something, parent them both (A and B) to it.
i.e instance A’s controllers to B & make both A and B children of something.
thank everyone for your answers and suggestions.
I’ll keep trying, and if I find a solution, I’ll post it here.
thanks Again