2
$\begingroup$

I have two empties Emp_Anim and Emp_toFollow, where one is animated and the other is not as shown in my .blend file found here. How can I make the Emp_toFollow apply the same transform location and rotation of the Emp_Anim? For example, at frame 1 they are apart from each other with a certain initial distance (x,y,z), I want Emp_toFollow follow the location and rotation of Emp_Anim while maintaining the same initial separation distance that existed at frame 1. Like I want to apply the two constraints copy_location and track_to but also have the initial separation xyz distance existing.

$\endgroup$
2
$\begingroup$

There are a lot of ways to achieve this, but the easiest and most straight forward would be to check Offset option in Copy Location constraint and move the Emp_toFollow back to it's original position. Like this:enter image description here

$\endgroup$
6
  • $\begingroup$ Thank you for your answer. Could you tell me what are the other possible ways of doing this? I also wonder how it can be done in python please? $\endgroup$ – Tak Nov 15 '16 at 12:21
  • $\begingroup$ Other ways would be as you mentioned python, using limit distance constraint, by parenting both empties to opposite vertices of curve or edge, using drivers and probably some other of which I didn't thought. $\endgroup$ – Mzidare Nov 15 '16 at 12:43
  • $\begingroup$ Thank you very much. I'll stick to your answer. I've applied it as shown here in my .blend here dropbox.com/s/ijitjrf2ti4817n/empty_track2.blend?dl=0 . I have two questions please. 1- If I moved to the next frame the empties parented to Bottom & Middle empties will snap away to different locations, I don't know why and how I can I avoid this? 2- If you select Bone1 and rotate it around X +180, you will find that the empties following the Bottom empty are now above the Bottom empty while before rotating Bone1 they were below, so how I can maintain their original position $\endgroup$ – Tak Nov 17 '16 at 8:35
  • $\begingroup$ I'd appreciate it if you could advise me please? and please let me know if it's not clear so I can explain better what I mean. Thank you very much in advance. $\endgroup$ – Tak Nov 17 '16 at 8:36
  • $\begingroup$ You made quite a mess there. Each of the empties have their own animation plus they still having constraints and this both influences are working in the same time, creating weird behaviour.The best way to ensure of keeping the same angle to the bone is to use other bones, set in appropriate angle. $\endgroup$ – Mzidare Nov 17 '16 at 9:00

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.