-
A (kinda) IK question…
I was using the tan2() expression to get an “arm” to point at a target…it looked simply like this (from http://www.jjgifford.com):
this_point=position;
that_point=this_comp.layer(“target”).position;
delta=sub(this_point, that_point);
angle=Math.atan2(delta[1], delta[0]);
radians_to_degrees(angle);It worked great, the anchor point of the ‘arm’ was the shoulder. Okay, so Part 2 was to simply attach this arm to a body? Right? Wrong. The second it was parented to the body, everything went fairly ‘whack’. Is there anything I can do about this? Would this require the more complex IK solution from Ebberts/Motionscript? I don’t think so – because I don’t want the rotation of the arm (or position of the target) to effect the rotation of the ‘body’.
-echo