- This topic has 2 replies, 2 voices, and was last updated 5 years, 12 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
Home › Forum › SOFA › Using SOFA › [SOLVED] Using "FreeMotionAnimationLoop" is stopping "TetrahedronFEMForceField"
Tagged: 64_bits, Linux_ubuntu, SOFA_1806
Hello,
I noticed that using the FreeMotionAnimationLoop
will stop the ‘TetrahedronFEMForceField’ component from working.
A quick example to illustrate this is the famous tutorial scene “TutorialForceFieldLiverFEM.scn” in (/src/examples/Tutorials/ForceFields)
It is sufficient to include <FreeMotionAnimationLoop/>
in the main scene node to notice that the liver is not deforming anymore!
As far as I know, the “DefaultAnimationLoop” is set by default in any simulation when no other animation loop is set explicitly. However, I have to use the FreeMotionAnimationLoop
because I’m using BilateralInteractionConstraint
which in turn require it.
I’m wondering if someone has faced the same issue before?
Thanks,
Noura
Hi @noura,
This is not a bug, but due to the resolution process implied with the FreeMotionAnimationLoop. As you can notice from the Lagrange constraint documentation, a specific ordering is required in the resolution:
I hope this helps.
Best,
Hugo
Hi Hugo,
Yes, that’s true. I forgot to include a ConstraintCorrection in the deformed object node. Now it works fine.
Thanks for the quick hint!
Noura
WARNING
The forum has been moved to GitHub Discussions.
Old topics and replies are kept here as an archive.