- Home /
Configurable joint axis aren't working with local space
I'm working on an active ragdoll, so I chose to use configurable joint because they are best suited for this, I began and then found something that bothered me very much, I put the limits and the springs correctly, the arm of the character is limited on the z axis correctly, but when I set the target rotation to be 1 on the x which is 90 degree, the z axis becomes loose and the arm start swaying everywhere, I just want to know why because it's slowing the process a lot and I can't find any answers. video showing the problem
I tried to put the rotation with the right values for the quaternion to give 90 degrees on x which are (0.707,0,0,0.707) and I faced the same problem I also tried using quaternion.euler but with no success I don't know if it's a problem from the configurable joint itself or I did something wrong.
Edit: I think i knew what is causing the problem I believe that the problem is with the joint space as when the joint get to 90 degrees i found that the x and z axis change and because of that the rotation becomes wierd i want to know how to make the target rotation target the object local space and local axis not the world and i tried checking off configured in world space and it didn't make any difference.
Your answer
Follow this Question
Related Questions
Getting a configurable joint to point at another object 2 Answers
How should I make a animate fully physics based Active Ragdoll? 0 Answers
Joint system scale problems 2 Answers
Settings to make configurable joints really fixed 1 Answer
Best way to move a rigid body to an empty's position? 0 Answers