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.
$\begingroup$
$\endgroup$
Add a comment
|
1 Answer
$\begingroup$
$\endgroup$
6
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:
-
$\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$– TakCommented Nov 15, 2016 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$– MzidareCommented Nov 15, 2016 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 selectBone1
and rotate it around X +180, you will find that the empties following theBottom
empty are now above theBottom
empty while before rotatingBone1
they were below, so how I can maintain their original position $\endgroup$– TakCommented Nov 17, 2016 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$– TakCommented Nov 17, 2016 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$– MzidareCommented Nov 17, 2016 at 9:00