Skip to content

fix(RigidObject): add missing UncoupledConstraintCorrection for dynamic objects#138

Open
SlothSpunky77 wants to merge 1 commit into
SofaDefrost:masterfrom
SlothSpunky77:fix/rigid-object-missing-constraint-correction
Open

fix(RigidObject): add missing UncoupledConstraintCorrection for dynamic objects#138
SlothSpunky77 wants to merge 1 commit into
SofaDefrost:masterfrom
SlothSpunky77:fix/rigid-object-missing-constraint-correction

Conversation

@SlothSpunky77

Copy link
Copy Markdown

RigidObject.py docstring states UncoupledConstraintCorrection is added to dynamic rigid bodies, but the implementation never adds it. This causes FreeMotionAnimationLoop to silently skip constraint propagation on every step, leaving all dynamic objects frozen despite the simulation appearing to run normally.
No error is raised.

Fix: add UncoupledConstraintCorrection inside the isAStaticObject guard.

I have verified both the issue and the fix against SOFA v26.06.99

…ic objects

RigidObject.py docstring states UncoupledConstraintCorrection is added to dynamic rigid bodies, but the implementation never adds it. This causes FreeMotionAnimationLoop to silently skip constraint propagation on every step, leaving all dynamic objects frozen despite the simulation appearing to run normally.
No error is raised.

Fix: add UncoupledConstraintCorrection inside the isAStaticObject guard.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant