Hi, guys!
We are trying to make a realistic looking ragdoll and we've encoutered some problems with ball-socket joints.
Her's example to show the problem:
We have two similar physic bodies. let's name them box1 and box2. box1 has coordinates -10; 0; 0 and the second box is in 10; 0; 0. We connect this boxes with a ball-socket joint with following parameters:
coordinates of joint: 0; 0; 0
ConeAxis: -1; 0; 0
maxConeAngle: 1 radian
maxTwistAngle: 2 radians
Box2 is a parent
When we begin the physics simulation we use SetMoveable(false) for parent box2, so it stays in place, but Box1 is pused down by force of gravity around the joint, untill it reaches the limit of maxConeAngle set to 1 radian. In this case everything works as expected.
But, when we change maxConeAxis to -1; 0; -1 , and start the simulation again, box1 will fall down for about 90 degree (1,5 radian) which is far beyond the limit of maxConeAngle.
And what is more strange, decreesing the maxTwistAngle can somehow affect the limiting cone of maxConeAngle, making the angle lesser.
Any ideas what's wrong ?
We're using Newton via the TVD 6.5
Thanks in advance.