Thanks for the reply, but i know that it's not possible to give limits to PH_Ball, but because it's the only joint that supports 3 axis, i wanted to limit it in C-script.
maybe a thing like:
Code:
var torque[3];
if(bone.pan > parent_bone.pan + 90) //stop rotation if bone's pan is > 90,
//relative to his parent bone
{
...
//a formula that gives the necessary torque (the thing that i can't do).
phent_addtorquelocal(bone,torque) //stop the unwanted rotation.
}
Does anyone knows how to find the right torque, or another way to stop the rotation when the bone is out of the limit?
Thanks (and sorry for the bad english)