JoeJ wrote:I thought linear rows are always order independent, so the solver likes them more.
Guess that's wrong and it's just like "It's bad when rows work against each other - no matter if linear or angular." ?
I said that it is easier to visualize mutually perpendicular Degree of freedom when using linear rows than it is when using angular rows
The way you the angular rows geometrailly is by answering the question, Given two bodies and on axis of rotation, what acceleration have to be applied to the body so ta the relative annual velocity remedy contacts. so if Dir the direction vector, you vane stable a constrain we only the pin
the reaosn si the whenyou calcual the angualderivative
w = der (dir) / drev (dt) = cross (omega, dir) % dir = const
but ta expression is always zero, so it is no suffeunct for stabilizing the constraint
on the size when using linear rows, the expression is, given a point on body what accelratikomn si nessesati to make the velocity contanct.
the is
P = p0 + R
where p0 is the cent of mass and R the vector for the origin to the point, the derivative of the expression is
V = (veloc + cross (Omega, R)) % dir = const
as you can see the expression is no zero, so the constant fact can be extracted and the are the jacobian. that what submit linear row does,
for the angular to work similarly you need an auxiliary vector perpendicular to the pin. and the where the problem is, because et is no always clear how to get the vector
assuming you can get the vector the expression becomes
dir % V = zero
the derivative Is
(cross (omega, dir) % V + dir % cross (omega, v)) % dir = const
afeter some algebarica manipulation you get the jacobian is gien bu vetor
cross (dir, V) * Omega
bu the is no intuitive, because the rotation axis is perpendicular to V and dir., so what I do is the I extract that put of the calculation and let the joint pass
cross (dir, V), and that is more intuitive, by it still have the problem that when using more the one row, it is no always easy to find three expression
cross (dir1, V1)
cross (dir2, V2)
cross (dir3, V3)
that are mutually perpendicular, because usually dir fix to one body while V is fixed to the other the other, in some cases like the 3dof it may be that neither is fixed to any body.
after I convert al the joints hopefully it will make more sense.