It looks like you're on the right track: prior to normalizing the vectors, translate the vectors such that B is at (0,0,0). But your translation looks wrong. Think @BA instead of @AB, walk through your math again, and see if you can spot the problem.
In reply to Re: Calculate Angle Between Three 3D Points
by dws
in thread Calculate Angle Between Three 3D Points
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |