Page 1 of 1

revolute joint bias

Posted: Sun Jan 03, 2016 10:57 pm
by Isawyou
hi all!
what's the difference of revolute joint using the bias or the solve position constraint?

Re: revolute joint bias

Posted: Sat Jan 30, 2016 2:18 am
by irlanrobson
Basically: Stability. Using bias (e.g. Baumgarte) it is more easy for joints attached to bodies with large mass ratios to break or look spongy when the bodies are on top of other bodies and if angle limits are in, assuming a small number of velocity iterations. Problems with the spherical joint of the constraint aren't very noticible in most cases in my experience. But using a position solver (e.g. Full-NGS), convergence it is accelerated, and it gives good results in my experience. It also depends a little on how the constraints are solved, and the order. E.g solve multiple linear constraints together, direct enumeration, etc.

Here there is an example I wrote last year using PGS and baumgarte: https://github.com/irlanrobson/Bounce. It should be pretty straightforward to couple a position solver to this.