0
$\begingroup$

I have a cube and an empty which is the child of the cube. I add the "track to" constraint to the cube; the tracking target is the empty.

This will not work. When moving the cube, the empty will not move. I would like to have such a setup because it would be very intuitive for some animation nodes I am doing.

The console shows that I created a cyclic dependency of the constraints:

Dependency cycle detected:

Cube depends on Empty through Track To. Empty depends on Cube through Parent.

I'd like to be able to move the cube (and the child - the empty - with it). Only when I explicitly move the empty, the cube should reorient itself in order to track the empty.

enter image description here

Any help or workaround is greatly appreciated. blackno666

$\endgroup$
1
$\begingroup$

This doesn't work because a dependency cycle, i.e. both objects are dependent upon each other. To solve this, add another empty and parent both objects to it. To move the cube, move the parent empty.

$\endgroup$
  • $\begingroup$ When using blender --enable-new-depsgraph, the cyclic dependency can somewhat be broken if the "child of" constraint is used and only the "Location" is marked. Most of the time this will work, sometimes the cube's rotation will be off. Probably a bug in the new depsgraph. $\endgroup$ – blackno666 Feb 14 '17 at 19:34

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.