Calculation angle between point
i would like to calculate the angle between two point i pick.
The helpfile says i cal calculate the angle by using the formula :
theAngle = acos(dot (normalize p1) (normalize p2))
Well thats is okey if you first pick 0,0,0 then a other point. the angle is okey.
But if you start picking the first point somewhere else it's not working.
so this must be realated to local and world space things... ??
Any1 who can point me in the right direction ?