3
$\begingroup$

I need to have a cube (the BLUE one) to be linked to a parent (the RED one). So when I move the RED cube from the ground the BLUE cube shall move in the same direction proportionally.

How to make this kind of link in Blender?

enter image description here

$\endgroup$
0

2 Answers 2

3
$\begingroup$

You can give your blue cube a Transformation constraint with the red cube as Target:

enter image description here

Enable the Extrapolate option. In the XYZ fields, choose the values you want, it will determine the ratio. If you choose -10/10 and -10/-10, the blue cube will move as much as the red cube on the given axis. If you choose -10/10 and -20/-20, the blue cube will move twice the distance of the red cube:

enter image description here

$\endgroup$
3
  • $\begingroup$ Thanks. This way looks quite flexible. $\endgroup$
    – VictorDDT
    Commented Aug 31, 2021 at 13:31
  • $\begingroup$ unrelated question: What tool are you using for making animated screencaps? $\endgroup$ Commented Aug 31, 2021 at 15:11
  • 1
    $\begingroup$ I'm using ScreenToGif ;) $\endgroup$
    – moonboots
    Commented Aug 31, 2021 at 15:21
5
$\begingroup$

Copy location constraint.

enter image description here

  • Red is parent of Blue. Both at same location.

  • Blue is given delta location Z to offset it from Red. Could use Z location

  • A copy location constraint is added to Blue to Map the global Z location of Red to it's local location. Check use offset to use the delta Z location set above.

  • Note this all works well until the Parent is transformed, at which case the spaces no longer match.

$\endgroup$
3
  • $\begingroup$ unrelated question: What tool are you using for making animated screencaps? $\endgroup$ Commented Aug 31, 2021 at 15:11
  • $\begingroup$ @MartyFouts blender.meta.stackexchange.com/questions/963/… $\endgroup$
    – p2or
    Commented Sep 5, 2021 at 7:39
  • $\begingroup$ @p2or thanks. I was just being curious about which of the various available tools people were using. I use ScreenToGif myself; but I'm usually too lazy to do it for an answer. $\endgroup$ Commented Sep 5, 2021 at 13:43

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .