Skip to content

Valid combinations of ConstraintCorrection and LinearSolver #3046

Discussion options

You must be logged in to vote

I guess the code snippet you gave is just a part of the scene (since there, there is not Lagrangian constraint).

works just fine, even though I am using an ITERATIVE linear solver.

Does it work even when constraints appear? I would expect a crash looking at the code : a pointer on a LinearSolver is saved internally in LinearSolverConstraintCorrection, but this might fail when calling addJMInvJt

If I replace the LinearSolverConstraintCorrection with a GenericConstraintCorrection, I get

indeed the GenericConstraintCorrection checks this correctly at init.

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@ScheiklP
Comment options

@hugtalbot
Comment options

@ScheiklP
Comment options

@hugtalbot
Comment options

@hugtalbot
Comment options

Answer selected by ScheiklP
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants