Original Post
I'm trying to limit the rotation of free moving bones...
The bones that are in sockets have basically half a sphere that they can rotate in, I'm trying to figure out if a certain direction (theta, phi) is in that half shpere that it is allowed to be in. The half shpere is represented by another shpereical cordinate pointoing to the center...
Any help?
[Edit:]
I guess I'm just trying to figure how to find the distance from one direction to another... How would you do this?
[Edit Again...:]
Would this work???
sqrt((theta1 - theta2)^2 + (phi1 - phi2)^2)
** modification of the distance formula =)
[edited by - Axiverse on June 11, 2004 9:30:44 PM]
[edited by - Axiverse on June 11, 2004 9:41:32 PM]