- This topic has 2 replies, 2 voices, and was last updated 8 years, 4 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 › Programming with SOFA › [SOLVED] Stick two collision Model
Tagged: 64_bits, collision, Linux_ubuntu, SOFA_other
Hello Guys
i have a problem in collision , i have a scene that have two collision model
first model is : TsphereModel and second model is tTriangleModel
in defaultContactManager : i set response to stick
i want this two collision model stick to each other but this two collision model don not any contact to each other . in other words Contact is NULL in defaultcontactmanager.cpp
my solver is EulerImplicitSolver and CGLinearSolver in root
how can stick 2 collision model ?
Hi Binesh,
Could you share a (simplified if necessary) version of your scene?
This would greatly help us in assisting you.
Cheers,
Hugo
Thanks My Dear Hugo
I solved this problem , i read the code very precise and found ,
SOFA create object from factory for “stick” in many mode Like TriangleModel VS SphereModel,
when i checked DataTypes i realized that all collision model is Vec3Types in stick mode
so i change the scene and set response to “stick” and contact has been created
and i see a spring between 2 collision model
Thanks SOFA , I Love SOFA
WARNING
The forum has been moved to GitHub Discussions.
Old topics and replies are kept here as an archive.