|
47 | 47 | <!-- This set the model used for contact behavior as Colomb's friction contact law using Lagrangian-based constraints --> |
48 | 48 | <CollisionResponse name="ContactManager" response="FrictionContactConstraint" responseParams="mu=0.3" /> |
49 | 49 | <!-- This object is responsible for defining pairs of points used for contact simulation. |
50 | | - Alarm distance and contact distance are key parameters: alarm distance is the distance at which the collision |
51 | | - detection is being performed. The contact distance increases the contact distance between object, enforcing a 'skinning' behavior --> |
52 | | - <NewProximityIntersection name="Intersection" alarmDistance="0.02" contactDistance="0.002" /> |
| 50 | + The contact distance increases the contact distance between object, enforcing a 'skinning' behavior --> |
| 51 | + <CCDTightInclusionIntersection name="CCDTightInclusionIntersection" continuousCollisionType="FreeMotion" maxIterations="100" contactDistance="0.00001"/> |
53 | 52 |
|
54 | 53 | <!-- Non-simulated node used to create underlying deformable topology --> |
55 | 54 | <Node name="BeamDomainFromGridTopology"> |
|
95 | 94 |
|
96 | 95 | <!-- This uses triangles as colliding element. These triangular primitives are the triangles present in the topology |
97 | 96 | For more information on collision models see : https://sofa-framework.github.io/doc/components/collision/geometry/collisionmodels/ --> |
98 | | - <TriangleCollisionModel name="Collision" contactDistance="0.001" color="0.94117647058824 0.93725490196078 0.89411764705882" /> |
| 97 | + <PointCollisionModel name="Collision" contactDistance="0.0" color="0.94117647058824 0.93725490196078 0.89411764705882" /> |
99 | 98 |
|
100 | 99 | <!-- This is a mapping: it relates the position of this node to the one of the simulated node. |
101 | 100 | The position of this node (the output of the mapping) is totally defined by the position of the input node |
|
157 | 156 | 4 5 6 4 6 7" /> |
158 | 157 | <MechanicalObject template="Vec3"/> |
159 | 158 | <!-- Because it is neither simulated nor moving, we can speed the solver and collision detection by setting parameters moving="0" simulated="0" --> |
160 | | - <TriangleCollisionModel name="CubeCM" contactDistance="0.001" moving="0" simulated="0" /> |
| 159 | + <TriangleCollisionModel name="CubeCM" contactDistance="0.00001" moving="0" simulated="0" /> |
161 | 160 | </Node> |
162 | 161 | </Node> |
0 commit comments