1
$\begingroup$

I have two meshes, « MasterCube » and « TargetCube » in different places. I would like to copy all moves (Translation X/Y/Z and Rotation X/Y/Z) from MasterCube to TargetCube in keeping the original locations of my two meshes. When MasterCube moves, TargetCube have to do the same from his original location.

I tried with « copy rotation », « copy location », « copy transform » and « transformation ». I even tried Hooks and more. I got a partial solution but not complete. For some solution, my TargeCube rotates around the pivot of the MasterCube in place to rotate around its own pivot. For other solution, the TargetCube location move to the MasterCube first off all, and follows this one in a kind of superposed mode.

The only good solution I expect to uses is Drivers. 3 Drivers for each location dimension (x,y,z) using the MasterCube location coordinates in the math expression to compensate, and 3 others for rotation. So, 6 Drivers.

Anyway, for a so simple idea to just clone moves, I guess there is a simplest way to do this. Could you tell me if Drivers really are the regular solution ?

Thank you.

Example of bad result with Parenting. The TargetCube rotates around the MasterCube pivot.

enter image description here

enter image description here

$\endgroup$
7
  • $\begingroup$ what about parenting the target cube to an empty? is it the problem of location that prevent you to do it? $\endgroup$
    – moonboots
    Aug 31 '20 at 18:54
  • $\begingroup$ Parenting is perfect for translations (x,y,z). It's ok too for one rotation axe. But for at least one rotation (ie y) the TargetCube rotate around the MasterCube pivot $\endgroup$ Aug 31 '20 at 19:14
  • $\begingroup$ i'm talking about parenting the target cube to an empty, not parenting the target cube to the master cube $\endgroup$
    – moonboots
    Aug 31 '20 at 19:23
  • $\begingroup$ I'm not sure to understand you well, but you suggest to place an "empty master" at the same place of the TargetCube ? If yes, it works, but this is not what I'm looking for. I need to have my two cubes in different places. $\endgroup$ Aug 31 '20 at 20:08
  • $\begingroup$ put the empty wherever you want, at the same location as the target cube for example, parent the target cube to the empty, move the empty wherever you want, the cube will follow, and it will act like the master cube except it is not at the same location. But the answer given by Ron Jensen works as well $\endgroup$
    – moonboots
    Aug 31 '20 at 20:11
1
$\begingroup$

Is this the effect you're looking for? Tumbling Animation

The trick is to set "Mix" to "After Original" and the "Copy Transforms" constraint goes on the follower object. The Settings

$\endgroup$
4
  • 1
    $\begingroup$ Hello Ron. Thank your for your answer. I tried this, it failed and I just undersant whty. In fact your solution works, excepted in one case. When the TargetCube is at the Origine (0,0,0). Because, the TargetCube moves, when you set the "Copy Transform". And when the TargetCube is at the origine, it comes to merge the same location. So, it works under the condtion the TargetCube is not at the origin. $\endgroup$ Aug 31 '20 at 20:19
  • $\begingroup$ Anyway, there still is a problem. When I set the Copy Transform, the TargetCube move to a location that is TargetCube.location + MasterCube.location. And this is breaking my previous modelling. $\endgroup$ Aug 31 '20 at 20:30
  • $\begingroup$ if the target object is at the center of the scene it will merge to the same location as the master, but why can't you simply move the target cube in the scene to the location it is supposed to be relatively to the master cube? $\endgroup$
    – moonboots
    Aug 31 '20 at 20:34
  • $\begingroup$ This is what I did just now. But when I was looking for a solution, I tried different solution with the TargetCube at the origin. Just to understand. i didn't realize It was a specific bad choice to solve my problem :-)) Leave an example at the origin to test different solutions is a trap ! ;-) $\endgroup$ Aug 31 '20 at 20:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.