‹ Return to Slide10
Then this cosine rule. You may remember it from high school. If you know the lengths of the sides of a triangle, you can calculate every angle. And in this case we know the length of the upper arm, forearm and we can determine the distance between the shoulder and the target…
Oh yes: you could also use Unity Pro’s IK solution if you happen to have a Pro license.