Default flex internal contacts to "false".
This function is unusual in the context of soft body simulations and has been a common gotcha for users, see e.g. #2500, #2079, #1900, and #1433. It should be used only if element inversion cannot be prevented otherwise. PiperOrigin-RevId: 736822983 Change-Id: I76b0965c91c94dd88123826d218d7544ec37a88c
This commit is contained in:
committed by
Copybara-Service
parent
40891eeadc
commit
f25fc63f0f
@@ -4041,7 +4041,7 @@ extensions specific to flexes.
|
||||
|
||||
.. _flex-contact-internal:
|
||||
|
||||
:at:`internal`: :at-val:`[true, false], "true"`
|
||||
:at:`internal`: :at-val:`[true, false], "false"`
|
||||
Enables or disables internal collisions which prevent flex self-penetration and element inversion. Note that flex
|
||||
elements that have shared vertices cannot collide (or else there will be permanent contacts). In 1D and 2D, internal
|
||||
collision checks rely on predefined vertex-element pairs, where the vertex is treated as a sphere with the same
|
||||
@@ -4049,7 +4049,9 @@ extensions specific to flexes.
|
||||
flex. The pre-defined vertex-element pairs are generated by the model compiler automatically. In 3D, internal
|
||||
collision checks are performed within each tetraheron: each vertex is collided with the plane corresponding to the
|
||||
opposing triangle face (again using the flex radius). The resulting contacts are always created with condim 1, gap 0,
|
||||
margin 0.
|
||||
margin 0. Note that internal contacts modify the behavior implied by the :ref:`elasticity
|
||||
parameters<flex-elasticity>` and is recommended only for flexes where element inversion cannot be prevented. The
|
||||
default value of this attribute was changed from "true" to "false" in version 3.3.1.
|
||||
|
||||
.. _flex-contact-selfcollide:
|
||||
|
||||
|
||||
@@ -5,6 +5,12 @@ Changelog
|
||||
Upcoming version (not yet released)
|
||||
-----------------------------------
|
||||
|
||||
.. admonition:: Breaking API changes
|
||||
:class: attention
|
||||
|
||||
- The default value of the flag for toggling :ref:`internal flex contacts<flex-contact-internal>` was changed from
|
||||
"true" to "false". This feature has proven to be counterintuitive for users.
|
||||
|
||||
Bug fixes
|
||||
^^^^^^^^^
|
||||
- :ref:`mj_jacDot` was missing a term that accounts for the motion of the point with respect to
|
||||
|
||||
Reference in New Issue
Block a user