use different solvers simultaneously

Post Reply
gdlk
Posts: 62
Joined: Fri Oct 24, 2014 7:01 pm

use different solvers simultaneously

Post by gdlk »

Hi!

I was curious about if is possible use different solvers simultaneously. For example solve several constraints with SI, and solve constraint where the bodies has large mass ratio with mlcp. If so, the phases to modify would be the collision detection phase (to generate separate pairs list to feed the different solvers) and the solver phase itself? (I am trying to learn the theory behind a physics engine and try to understand in a better way bullet internals to modify/develop it, but is a long way..., so I prefer to ask if this is possible theoretically before try it )

Thanks!!
Basroil
Posts: 463
Joined: Fri Nov 30, 2012 4:50 am

Re: use different solvers simultaneously

Post by Basroil »

You can use different constraint for different islands if you use a special dispatcher (take a look at the recent multithreaded bullet fork), but you cannot use different solvers for things within a single island.
gdlk
Posts: 62
Joined: Fri Oct 24, 2014 7:01 pm

Re: use different solvers simultaneously

Post by gdlk »

Great!! Thanks!!
Post Reply