Hi,
To be able to stop execution at certain points in the code, you need to run sofa through a debugger. In QtCreator, this can be made simply by clicking “Start debugging”.
You need to set up your project so that the executable is runSofa_d and the arguments point to your scene (in the Projects tab
-> Build & Run
-> Run
)
You may also use the console, but it is much harder to follow anything that happens. For example, you can start using gdb sofa/build/debug/bin/runSofa_d
, then run using your scene as an argument.
Hope this helps.
Cheers,
Vincent
Thanks Rémi!
We just figured yesterday that the ContactMapper was the missing element. Thanks for the code, it also works on our side. In combination with using a custom MeshTopology component, this actually results in very little code for the collision components.
Thanks also for the new plugin structure, I was not aware we could do that.
Cheers,
Vincent
WARNING
The forum has been moved to GitHub Discussions.
Old topics and replies are kept here as an archive.