sofa-framework / sofa

Real-time multi-physics simulation with an emphasis on medical simulation.
https://www.sofa-framework.org
GNU Lesser General Public License v2.1
934 stars 312 forks source link

Collision problem #5100

Closed anyCli0 closed 2 weeks ago

anyCli0 commented 2 weeks ago

hello i am doing a real time mechanical simulation of surgical microclipping of aneurysms. An initial implementation is based on the collision of the clip model with a simplified geometry in the shape of a cylinder. by starting the simulation there are no problems, I can get the clip close to the cylinder by controlling it from the keyboard, open it and close it. At the moment when the collision models detect each other, nodes appear in the scene graph which I have not created (comprising a mechanical object and a barycentric mapping), relating to the entity in contact with the collision models. then the programme crashes and the simulation stops. Here some images to describe better the problem firstthen

anyCli0 commented 2 weeks ago

then